How can I convert my API code from JSON to cURL

Additional notes here on your duplicate post