I'm attempting to retrieve data from the Zomato API by using jquery ajax, however, they have provided a curl command instead.
curl -X GET --header "Accept: application/json" --header "user-key: key" "https://developers.zomato.com/api/v2.1/cities"
Is there a way to convert this into a $.ajax() call for easier integration?