{"id":7061,"date":"2017-11-19T11:30:20","date_gmt":"2017-11-19T11:30:20","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=7061"},"modified":"2017-11-21T19:31:02","modified_gmt":"2017-11-21T19:31:02","slug":"html-form-applicationx-www-form-urlencoded-vs-multipartform-data","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=7061","title":{"rendered":"HTML Form: application\/x-www-form-urlencoded vs. multipart\/form-data"},"content":{"rendered":"<table>\n<tr>\n<td>form data<\/td>\n<td>application\/x-www-form-urlencoded<\/td>\n<\/tr>\n<tr>\n<td>binary data<\/td>\n<td>multipart\/form-data<\/td>\n<\/tr>\n<\/table>\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/4007969\/application-x-www-form-urlencoded-or-multipart-form-data\">application\/x-www-form-urlencoded or multipart\/form-data?<\/a><br \/>\n<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Learn\/HTML\/Forms\/Sending_forms_through_JavaScript\">Sending forms through JavaScript<\/a><br \/>\n<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/API\/XMLHttpRequest\">XMLHttpRequest<\/a><br \/>\n<a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/AJAX\">Ajax<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>form data application\/x-www-form-urlencoded binary data multipart\/form-data application\/x-www-form-urlencoded or multipart\/form-data? Sending forms through JavaScript XMLHttpRequest Ajax<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7061","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/7061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7061"}],"version-history":[{"count":3,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/7061\/revisions"}],"predecessor-version":[{"id":7082,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/7061\/revisions\/7082"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7061"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}