Generates HTTP request for XML API.
Using Xml.Decode for decoding XML response into Elm value.
Create a GET request.
Create a POST request.
Create a PUT request.
Create a PATCH request.
Put an XML string in the body. Adding Content-type: application/xml header.
Expect the response body to be XML.
You provide Xml.Decode.Decoder to decode that XML into Elm value.
Create a request to URL that returns XML. Adding
Accept: application/xmlheader.It tries to decode XML response to Elm value.