Curl GET XML Example [PHP Code]

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