How to get JSON with cURL ?

How to get JSON with cURL ?

You can get JSON with cURL by sending a GET request with the -H "Accept: application/json" option. Here is a sample command that sends a GET request to our hosted…