elm / http

Make HTTP requests in Elm
https://package.elm-lang.org/packages/elm/http/latest
BSD 3-Clause "New" or "Revised" License
155 stars 46 forks source link

Introduces an easy way to put key-value pairs of form data into a cus… #37

Closed asdr closed 5 years ago

asdr commented 6 years ago

Introducing formDataBody function in Http module to create an Http.Body from a list of key-value pairs of form-data.

process-bot commented 6 years ago

Thanks for the pull request! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

evancz commented 5 years ago

The multipartBody is intended to be the equivalent of putting new FormData() as the body.

I am not familiar with the style of body described here. I think it makes sense to document the specific use-case in an issue with some supporting links about the technique. Then go from there.