Curl Header

An example of a sending header with Curl. The '-H "Accept: application/json"' Curl command-line parameter appends 'Accept: application/json' header to the request and informs the server that the Curl client expects a JSON. The "Content-Type: application/json" Curl header indicates the resource type in the request body.
Loading...