An example of making a POST request using Curl with a custom content type header. The -H "Content-Type: application/json" command line option specifies the media type of the resource in the request body. You can use your own mime type here. Data is passed to Curl using the -d command line option. They must match the provided content type. The PHP code was automatically generated for the Curl Content Type example.