Curl Command to GET an XML String

An example of a Curl command to get and an XML string from the API endpoint. The 'Accept: application/xml' request header tells the server that the client expects an XML. The 'Content-Type: application/xml' response header informs the client that the server returned an XML string.
Loading...