{"id":5777,"date":"2021-05-04T08:33:48","date_gmt":"2021-05-04T03:03:48","guid":{"rendered":"https:\/\/vinish.dev\/?p=5777"},"modified":"2025-06-01T09:46:57","modified_gmt":"2025-06-01T04:16:57","slug":"oracle-utl_http-post-multipart-form-data-example","status":"publish","type":"post","link":"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example","title":{"rendered":"Oracle UTL_HTTP Post Multipart\/Form-Data (JSON &#038; ZIP) Example"},"content":{"rendered":"\n<p>Here I am giving an example to send <a href=\"https:\/\/vinish.dev\/export-data-into-json-file-in-oracle-11g-using-pl-sql\">JSON<\/a> and a <a href=\"https:\/\/vinish.dev\/how-to-zip-a-file-in-pl-sql\">Zip file<\/a> to the <code>REST<\/code> web service using Oracle <code>UTL_HTTP<\/code> post multipart\/form-data.<\/p>\n\n\n\n<p>Initially, I took the example code from <a href=\"https:\/\/apexplained.wordpress.com\/2016\/03\/21\/utl_http-and-a-multipartform-data-request-body\/\" target=\"_blank\" rel=\"noopener nofollow\">Nick Buytaert's blog<\/a> and then modified it to incorporate the <code>JSON<\/code> and the Zip file.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Send JSON and a Zip File to REST web service using UTL_HTTP<\/h2>\n\n\n\n<p>The following PL\/SQL code will do the <code>REST<\/code> web service authentication using the Token. And after that, it will get the <code>JSON<\/code> and the <a href=\"https:\/\/vinish.dev\/how-to-get-blob-from-file-in-pl-sql\">BLOB from the table<\/a>. It will Zip the <code>BLOB<\/code> and then combine it with the <code>JSON<\/code> by converting it to <code>base64<\/code> type data. Then it will prepare the header and send it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">declare\nl_attachment blob;\nl_newline varchar2(50) := chr(13) || chr(10);\nlco_boundary constant varchar2(30) := 'gc0p4Jq0M2Yt08jU534c0p';\n\nl_http_request utl_http.req;\nl_request_body clob;\nl_request_body_length number;\nl_req_body clob;\nl_http_response utl_http.resp;\nl_response_header_name varchar2(256);\nl_response_header_value varchar2(1024);\nl_response_body varchar2(32767);\n\nl_offset number := 1;\nl_amount number := 2000;\nl_buffer varchar2(2000);\nl_clob clob;\nl_token varchar2(32767);\nbegin\n-- get the token\nl_clob := apex_web_service.make_rest_request(\n p_url =&gt; 'https:\/\/YourTokenURL',\n p_http_method =&gt; 'GET');\n l_status := apex_web_service.g_status_code;\nAPEX_JSON.parse(l_clob);\nl_token:=APEX_JSON.get_varchar2(p_path =&gt; 'token'); \n\n-- prepare or get the json\nl_req_body := '{name: \"Scott\", age: 33, city: \"Huston\"}';\n\nl_request_body := l_newline\n|| '--' || lco_boundary || l_newline\n|| 'Content-Disposition: form-data; name=\"contact-info\"' || l_newline\n|| 'Content-Type: application\/json' || l_newline\n|| l_newline\n|| l_req_body; --|| l_newline\n--|| '--' || lco_boundary || '--';\n\n-- get the blob from the table and zip it\nFOR l_file IN (\nSELECT\nfile_name,\nmy_file_blob\nFROM\nmy_doc_table\nWHERE\ndoc_id = '1234'\n) LOOP\napex_zip.add_file(p_zipped_blob =&gt; l_attachment, p_file_name =&gt; l_file.file_name,\np_content =&gt; l_file.my_file_blob);\nEND LOOP;\n\napex_zip.finish(p_zipped_blob =&gt; l_attachment);\n\n-- concatenate zip file as base64 data to the above json\nl_request_body := l_request_body || l_newline\n|| '--' || lco_boundary || l_newline\n|| 'Content-Disposition: form-data; name=\"attachment\"' || l_newline\n|| 'Content-Type: application\/zip' || l_newline\n|| 'Content-Transfer-Encoding: base64' || l_newline\n|| l_newline\n|| apex_web_service.blob2clobbase64(l_attachment) || l_newline\n|| '--' || lco_boundary || '--';\n\ndbms_output.put_line('Request body&gt;');\ndbms_output.put_line(dbms_lob.substr(l_request_body, 4000, 1));\n\nl_request_body_length := dbms_lob.getlength(l_request_body);\n\n-- authenticate wallet\nutl_http.set_wallet(\npath =&gt; 'file:\/your\/wallet\/path',\npassword =&gt; 'YourWalletPsw'\n);\n\n-- start sending the data\nl_http_request := utl_http.begin_request(\nurl =&gt; 'https:\/\/yourRESTservicePostURL',\nmethod =&gt; 'POST',\nhttp_version =&gt; 'HTTP\/1.1'\n);\n\n-- set header\nutl_http.set_header(l_http_request, 'Authorization', 'Bearer ' || l_token);\nutl_http.set_header(l_http_request, 'Content-Type', 'multipart\/form-data; boundary=\"' || lco_boundary || '\"');\nutl_http.set_header(l_http_request, 'Content-Length', l_request_body_length);\nutl_http.set_header(l_http_request, 'Transfer-Encoding', 'Chunked');\nutl_http.set_header(l_http_request, 'Connection', 'keep-alive');\n\n-- send data in chunks\nwhile l_offset &lt; l_request_body_length loop\ndbms_lob.read(l_request_body, l_amount, l_offset, l_buffer);\nutl_http.write_text(l_http_request, l_buffer);\nl_offset := l_offset + l_amount;\nend loop;\n\n-- print the response \nl_http_response := utl_http.get_response(l_http_request);\ndbms_output.put_line('Response&gt; Status Code: ' || l_http_response.status_code);\ndbms_output.put_line('Response&gt; Reason Phrase: ' || l_http_response.reason_phrase);\ndbms_output.put_line('Response&gt; HTTP Version: ' || l_http_response.http_version);\n\nfor i in 1 .. utl_http.get_header_count(l_http_response) loop\nutl_http.get_header(l_http_response, i, l_response_header_name, l_response_header_value);\ndbms_output.put_line('Response&gt; ' || l_response_header_name || ': ' || l_response_header_value);\nend loop;\n\nutl_http.read_text(l_http_response, l_response_body, 32767);\ndbms_output.put_line('Response body&gt;');\ndbms_output.put_line(l_response_body);\n\nif l_http_request.private_hndl is not null then\nutl_http.end_request(l_http_request);\nend if;\n\nif l_http_response.private_hndl is not null then\nutl_http.end_response(l_http_response);\nend if;\nexception\nwhen others then\nif l_http_request.private_hndl is not null then\nutl_http.end_request(l_http_request);\nend if;\n\nif l_http_response.private_hndl is not null then\nutl_http.end_response(l_http_response);\nend if;\n\nraise;\nend;<\/pre>\n\n\n\n<p>This code works like a charm. Please let me know in the comment section if you have any issues.<\/p>\n\n\n\n<p>See also: <a href=\"https:\/\/vinish.dev\/oracle-sql-json-table-parse-extract-json-data\">Oracle SQL Query to Parse and Extract JSON Data with JSON_TABLE<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here I am giving an example to send JSON and a Zip file to the REST web service using Oracle UTL_HTTP post multipart\/form-data. Initially, I took the example code from Nick Buytaert's blog and then modified it to incorporate the JSON and the Zip file. Send JSON and a Zip File to REST web service [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":16138,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-5777","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plsql"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Oracle UTL_HTTP Post Multipart\/Form-Data (JSON &amp; ZIP) Example &#8226; Vinish.Dev<\/title>\n<meta name=\"description\" content=\"Learn how to send JSON and ZIP files together to the REST web service using the UTL_HTTP package in Oracle.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Oracle UTL_HTTP Post Multipart\/Form-Data (JSON &amp; ZIP) Example &#8226; Vinish.Dev\" \/>\n<meta property=\"og:description\" content=\"Learn how to send JSON and ZIP files together to the REST web service using the UTL_HTTP package in Oracle.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example\" \/>\n<meta property=\"og:site_name\" content=\"Vinish.Dev\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/foxinfotech2014\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-04T03:03:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-01T04:16:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/vinish.dev\/wp-content\/uploads\/2021\/05\/oracle-utl_http-post-multipartform-data-json-zip-example.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"640\" \/>\n\t<meta property=\"og:image:height\" content=\"413\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Vinish Kapoor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/x.com\/vinish_kapoor\" \/>\n<meta name=\"twitter:site\" content=\"@foxinfotech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vinish Kapoor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-utl_http-post-multipart-form-data-example#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-utl_http-post-multipart-form-data-example\"},\"author\":{\"name\":\"Vinish Kapoor\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/a7790479716d2a54131ca873f8483d3f\"},\"headline\":\"Oracle UTL_HTTP Post Multipart\\\/Form-Data (JSON &#038; ZIP) Example\",\"datePublished\":\"2021-05-04T03:03:48+00:00\",\"dateModified\":\"2025-06-01T04:16:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-utl_http-post-multipart-form-data-example\"},\"wordCount\":151,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/df5e5ca816f6f4302efc03cf58dc97b4\"},\"image\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-utl_http-post-multipart-form-data-example#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/oracle-utl_http-post-multipartform-data-json-zip-example.jpg\",\"articleSection\":[\"PLSQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/vinish.dev\\\/oracle-utl_http-post-multipart-form-data-example#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-utl_http-post-multipart-form-data-example\",\"url\":\"https:\\\/\\\/vinish.dev\\\/oracle-utl_http-post-multipart-form-data-example\",\"name\":\"Oracle UTL_HTTP Post Multipart\\\/Form-Data (JSON & ZIP) Example &#8226; Vinish.Dev\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-utl_http-post-multipart-form-data-example#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-utl_http-post-multipart-form-data-example#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/oracle-utl_http-post-multipartform-data-json-zip-example.jpg\",\"datePublished\":\"2021-05-04T03:03:48+00:00\",\"dateModified\":\"2025-06-01T04:16:57+00:00\",\"description\":\"Learn how to send JSON and ZIP files together to the REST web service using the UTL_HTTP package in Oracle.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-utl_http-post-multipart-form-data-example#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vinish.dev\\\/oracle-utl_http-post-multipart-form-data-example\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-utl_http-post-multipart-form-data-example#primaryimage\",\"url\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/oracle-utl_http-post-multipartform-data-json-zip-example.jpg\",\"contentUrl\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/oracle-utl_http-post-multipartform-data-json-zip-example.jpg\",\"width\":640,\"height\":413,\"caption\":\"Oracle UTL_HTTP Post Multipart\\\/Form-Data (JSON &#038; ZIP) Example\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-utl_http-post-multipart-form-data-example#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vinish.dev\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PLSQL\",\"item\":\"https:\\\/\\\/vinish.dev\\\/category\\\/plsql\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Oracle UTL_HTTP Post Multipart\\\/Form-Data (JSON &#038; ZIP) Example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/#website\",\"url\":\"https:\\\/\\\/vinish.dev\\\/\",\"name\":\"Vinish.Dev\",\"description\":\"Vinish Kapoor&#039;s Blog: Best Oracle Blog for Developers\",\"publisher\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/df5e5ca816f6f4302efc03cf58dc97b4\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vinish.dev\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/df5e5ca816f6f4302efc03cf58dc97b4\",\"name\":\"Vinish Kapoor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/vinishprofile.png\",\"url\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/vinishprofile.png\",\"contentUrl\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/vinishprofile.png\",\"width\":192,\"height\":192,\"caption\":\"Vinish Kapoor\"},\"logo\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/vinishprofile.png\"},\"description\":\"Vinish Kapoor is a seasoned software development professional and a fervent enthusiast of artificial intelligence (AI). His impressive career spans over 25+ years, marked by a relentless pursuit of innovation and excellence in the field of information technology. As an Oracle ACE, Vinish has distinguished himself as a leading expert in Oracle technologies, a title awarded to individuals who have demonstrated their deep commitment, leadership, and expertise in the Oracle community.\",\"sameAs\":[\"https:\\\/\\\/vinish.dev\\\/\",\"https:\\\/\\\/www.facebook.com\\\/foxinfotech2014\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/vinish-kapoor\\\/\",\"https:\\\/\\\/x.com\\\/foxinfotech\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/a7790479716d2a54131ca873f8483d3f\",\"name\":\"Vinish Kapoor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g\",\"caption\":\"Vinish Kapoor\"},\"description\":\"Vinish Kapoor is a seasoned software development professional and a fervent enthusiast of artificial intelligence (AI). His impressive career spans over 25+ years, marked by a relentless pursuit of innovation and excellence in the field of information technology. As an Oracle ACE, Vinish has distinguished himself as a leading expert in Oracle technologies, a title awarded to individuals who have demonstrated their deep commitment, leadership, and expertise in the Oracle community.\",\"sameAs\":[\"https:\\\/\\\/vinish.dev\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/vinish-kapoor\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/x.com\\\/vinish_kapoor\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Oracle UTL_HTTP Post Multipart\/Form-Data (JSON & ZIP) Example &#8226; Vinish.Dev","description":"Learn how to send JSON and ZIP files together to the REST web service using the UTL_HTTP package in Oracle.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example","og_locale":"en_US","og_type":"article","og_title":"Oracle UTL_HTTP Post Multipart\/Form-Data (JSON & ZIP) Example &#8226; Vinish.Dev","og_description":"Learn how to send JSON and ZIP files together to the REST web service using the UTL_HTTP package in Oracle.","og_url":"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example","og_site_name":"Vinish.Dev","article_publisher":"https:\/\/www.facebook.com\/foxinfotech2014","article_published_time":"2021-05-04T03:03:48+00:00","article_modified_time":"2025-06-01T04:16:57+00:00","og_image":[{"width":640,"height":413,"url":"https:\/\/vinish.dev\/wp-content\/uploads\/2021\/05\/oracle-utl_http-post-multipartform-data-json-zip-example.jpg","type":"image\/jpeg"}],"author":"Vinish Kapoor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/x.com\/vinish_kapoor","twitter_site":"@foxinfotech","twitter_misc":{"Written by":"Vinish Kapoor","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example#article","isPartOf":{"@id":"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example"},"author":{"name":"Vinish Kapoor","@id":"https:\/\/vinish.dev\/#\/schema\/person\/a7790479716d2a54131ca873f8483d3f"},"headline":"Oracle UTL_HTTP Post Multipart\/Form-Data (JSON &#038; ZIP) Example","datePublished":"2021-05-04T03:03:48+00:00","dateModified":"2025-06-01T04:16:57+00:00","mainEntityOfPage":{"@id":"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example"},"wordCount":151,"commentCount":2,"publisher":{"@id":"https:\/\/vinish.dev\/#\/schema\/person\/df5e5ca816f6f4302efc03cf58dc97b4"},"image":{"@id":"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example#primaryimage"},"thumbnailUrl":"https:\/\/vinish.dev\/wp-content\/uploads\/2021\/05\/oracle-utl_http-post-multipartform-data-json-zip-example.jpg","articleSection":["PLSQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example#respond"]}]},{"@type":"WebPage","@id":"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example","url":"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example","name":"Oracle UTL_HTTP Post Multipart\/Form-Data (JSON & ZIP) Example &#8226; Vinish.Dev","isPartOf":{"@id":"https:\/\/vinish.dev\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example#primaryimage"},"image":{"@id":"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example#primaryimage"},"thumbnailUrl":"https:\/\/vinish.dev\/wp-content\/uploads\/2021\/05\/oracle-utl_http-post-multipartform-data-json-zip-example.jpg","datePublished":"2021-05-04T03:03:48+00:00","dateModified":"2025-06-01T04:16:57+00:00","description":"Learn how to send JSON and ZIP files together to the REST web service using the UTL_HTTP package in Oracle.","breadcrumb":{"@id":"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example#primaryimage","url":"https:\/\/vinish.dev\/wp-content\/uploads\/2021\/05\/oracle-utl_http-post-multipartform-data-json-zip-example.jpg","contentUrl":"https:\/\/vinish.dev\/wp-content\/uploads\/2021\/05\/oracle-utl_http-post-multipartform-data-json-zip-example.jpg","width":640,"height":413,"caption":"Oracle UTL_HTTP Post Multipart\/Form-Data (JSON &#038; ZIP) Example"},{"@type":"BreadcrumbList","@id":"https:\/\/vinish.dev\/oracle-utl_http-post-multipart-form-data-example#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vinish.dev\/"},{"@type":"ListItem","position":2,"name":"PLSQL","item":"https:\/\/vinish.dev\/category\/plsql"},{"@type":"ListItem","position":3,"name":"Oracle UTL_HTTP Post Multipart\/Form-Data (JSON &#038; ZIP) Example"}]},{"@type":"WebSite","@id":"https:\/\/vinish.dev\/#website","url":"https:\/\/vinish.dev\/","name":"Vinish.Dev","description":"Vinish Kapoor&#039;s Blog: Best Oracle Blog for Developers","publisher":{"@id":"https:\/\/vinish.dev\/#\/schema\/person\/df5e5ca816f6f4302efc03cf58dc97b4"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vinish.dev\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/vinish.dev\/#\/schema\/person\/df5e5ca816f6f4302efc03cf58dc97b4","name":"Vinish Kapoor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vinish.dev\/wp-content\/uploads\/2023\/12\/vinishprofile.png","url":"https:\/\/vinish.dev\/wp-content\/uploads\/2023\/12\/vinishprofile.png","contentUrl":"https:\/\/vinish.dev\/wp-content\/uploads\/2023\/12\/vinishprofile.png","width":192,"height":192,"caption":"Vinish Kapoor"},"logo":{"@id":"https:\/\/vinish.dev\/wp-content\/uploads\/2023\/12\/vinishprofile.png"},"description":"Vinish Kapoor is a seasoned software development professional and a fervent enthusiast of artificial intelligence (AI). His impressive career spans over 25+ years, marked by a relentless pursuit of innovation and excellence in the field of information technology. As an Oracle ACE, Vinish has distinguished himself as a leading expert in Oracle technologies, a title awarded to individuals who have demonstrated their deep commitment, leadership, and expertise in the Oracle community.","sameAs":["https:\/\/vinish.dev\/","https:\/\/www.facebook.com\/foxinfotech2014","https:\/\/www.linkedin.com\/in\/vinish-kapoor\/","https:\/\/x.com\/foxinfotech"]},{"@type":"Person","@id":"https:\/\/vinish.dev\/#\/schema\/person\/a7790479716d2a54131ca873f8483d3f","name":"Vinish Kapoor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g","caption":"Vinish Kapoor"},"description":"Vinish Kapoor is a seasoned software development professional and a fervent enthusiast of artificial intelligence (AI). His impressive career spans over 25+ years, marked by a relentless pursuit of innovation and excellence in the field of information technology. As an Oracle ACE, Vinish has distinguished himself as a leading expert in Oracle technologies, a title awarded to individuals who have demonstrated their deep commitment, leadership, and expertise in the Oracle community.","sameAs":["https:\/\/vinish.dev\/","https:\/\/www.linkedin.com\/in\/vinish-kapoor\/","https:\/\/x.com\/https:\/\/x.com\/vinish_kapoor"]}]}},"_links":{"self":[{"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/posts\/5777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/comments?post=5777"}],"version-history":[{"count":2,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/posts\/5777\/revisions"}],"predecessor-version":[{"id":19314,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/posts\/5777\/revisions\/19314"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/media\/16138"}],"wp:attachment":[{"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/media?parent=5777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/categories?post=5777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/tags?post=5777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}