You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like http currently lacks support for sending POST requests with application/x-www-form-urlencoded.
There is support for sending a body with multiple distinct items: Http.multipartBody. However, this seems to be limited to sending multipart/form-data requests.
There are some scenarios where the server expects the client to send POST requests with multiple parts that are combined according to the application/x-www-form-urlencoded media type, and won't accept POST requests encoded according to the multipart/form-data media type.
For comparison, elm-http-builder supports withUrlEncodedBody which seems to add support for application/x-www-form-urlencoded via withUrlEncodedBody.
The text was updated successfully, but these errors were encountered:
It looks like
http
currently lacks support for sending POST requests withapplication/x-www-form-urlencoded
.There is support for sending a body with multiple distinct items:
Http.multipartBody
. However, this seems to be limited to sendingmultipart/form-data
requests.There are some scenarios where the server expects the client to send POST requests with multiple parts that are combined according to the
application/x-www-form-urlencoded
media type, and won't accept POST requests encoded according to themultipart/form-data
media type.For comparison, elm-http-builder supports
withUrlEncodedBody
which seems to add support forapplication/x-www-form-urlencoded
via withUrlEncodedBody.The text was updated successfully, but these errors were encountered: