http icon indicating copy to clipboard operation
http copied to clipboard

Make HTTP requests in Elm

Results 31 http issues
Sort by recently updated
recently updated
newest added

jsonBody should specify character encoding as utf-8. If it does not, the default encoding is ISO-8859-1 [1], which is problematic with foreign characters. [1] https://www.w3.org/International/articles/http-charset/index

Is there a reason Task requests don't accept the `tracker` field to track progress? https://package.elm-lang.org/packages/elm/http/latest/Http#task compare to https://package.elm-lang.org/packages/elm/http/latest/Http#request

I am developing a REPL-like application for the APL language. It uses UTF-8 characters and the server API requires me to specify the charset: ``` Content-Type: application/json;charset=utf-8 ``` Otherwise I...

Hi there, I seems that there is no native way to do Server-Sent Events in Elm. I was wondering if, adding this feature, is in the roadmap ? I have...

NetworkError is not only caused by user, but by many other things. https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/error_event

Hi. `Expect msg` is an opaque type and has a type parameter `msg`. There are situations when a `mapExpect` function can be useful to map a message produced by expect....

`task` doesn't appear to provide any way of getting `Http.Error` values when errors occur.

Just a little spelling fix

I am trying to track size of received data of http response (Http.Receiving). Elm codes works fine. But `size` of `Http.Receiving` seems to have a problem. Specifically, `size` of `Http.Receiving`...