Curl Command to POST an XML String

This page shows how to send an XML string with a custom Content-Type: application/xml header.

Curl is a popular command-line tool for transferring data to or from a server. ReqBin supports the basic Curl commands for working with the HTTP/s protocol. For security reasons, command-line options for working with files are ignored.