Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for application/x-www-form-urlencoded ? #78

Open
paulmillar opened this issue Aug 23, 2024 · 0 comments
Open

Support for application/x-www-form-urlencoded ? #78

paulmillar opened this issue Aug 23, 2024 · 0 comments

Comments

@paulmillar
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant