post-xml tagged requests and articles

Categorized request examples and articles tagged with [post-xml] keyword
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 Command to POST an XML String
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.