Curl POST Request

An example of making a POST request using Curl. The -X POST command line parameter tells Curl to use the POST method for this request. The -d command line parameter contains the data to send to the server. The Curl -H "Content-Type: application/json" command line parameter specifies the media type of the resource in the request body.
Loading...