krisajenkins/elm-exts/10.6.0

NOTE: this package is not compatible with Elm 0.19.1

Exts.Http

Extensions to the main Http library.

promoteError : RawError -> Error

Convert an Http.RawError into an Error, using the same rules Http uses internally.

put : Decoder value -> String -> Body -> Task Error value

Send a simple PUT request.

postForm : Decoder value -> String -> Body -> Task Error value

Send a POST request with appropriate headers form-encoding.