Simple Curl

Here's an example of sending a standard XML or JSON file to the API via the curl command line application included with most operating systems. In the below examples, it is assumed you've created a valid sample.xml or sample.json file in the same directory.

curl -X POST --data-urlencode [email protected]sample.xml
curl -X POST --data-urlencode [email protected]