How form data can get from the browser to the backend.
Without JS
action
: where to send the data (URL, current URL by default)method
:GET
,POST
(and there’sdialog
too…)enctype
: only forPOST
,Content-Type
of the dataapplication/x-www-form-urlencoded
- default, URL encoded bodymultipart/form-data
- multipart data, required for file uploadstext/plain
- for debugging, don’t use, security issues