xml-example tagged requests and articles

Categorized request examples and articles tagged with [xml-example] keyword
Curl POST XML Example
An example of a Curl command to post an XML string to the API endpoint. In this post XML request example, the 'Content-Type: application/xml' request header indicates that the request body contains an XML. The 'Accept: application/xml' request header tells the server that the client expects an XML. The XML is passed in the Curl -d command-line parameter.

POST XML Example
An example of sending an XML string to the target URL. In this post XML example, the Content-Type: application/xml request header indicates the media type of the resource in the request body. The Accept: application/xml request header tells the server that the client expects an XML media type. The Content-Type: application/xml response header indicates that the server returned XML.

Curl GET XML Example
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.

GET XML Example
An example of getting an XML data from a website. 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.