Helpers for working with DNN Web API
When a request fails, the Failure value will be one of these. Most of these are copied from Http.Error in the elm/http module.
When there is a BadStatus, both the status code and the body of the response are included. This allows getErrorMessage to retrieve any error message in the response, if they are available.
Http GET
Http POST
Http PATCH
Http PUT
Http DELETE
Get the localized error message from the Error
Json decoder for Config
Json decoder for server error, localized.
Json decoder for multiple server error messages, localized.
Null decoder. Useful for when the server doesn't return any value.
Configuration type
baseUrlthe base URL for the HTTP requestsheaders: list of the headers for the HTTP requests