I already used HTTP method POST method="post"
with encodings:
enctype="multipart/form-data"
enctype="application/x-www-form-urlencoded"
I also used HTTP method GET method="get"
with encoding:
enctype="application/x-www-form-urlencoded"
Is it possible to also use method GET with enctype="multipart/form-data"
?
No. As GET requests don't have a body, specifying it's Content-Type doesn't make any sense. Especially multipart/form-data
, which states the request will have multiple bodies.
This parameter is only used for request types with bodies, like POST or PUT.