API request to Zendesk

I am using web request to connect and pull tickets from our Zendesk environment. However, when i pull users it says the following: This is a JSON only API. Please use .json extension or application/json Accept header.

This call works perfectly using Postman. Any ideas?

i added the content-type = application/json also and it doesn’t work. Anyone else pulling users from Zendesk out there? My credentials are under an admin account and like i said postman works fine with the exact same credentials. Thanks

The error message mentions the Accept header, not Content-Type. You need to add Accept.

image

AHA! That was it. Thank you Dmitry. You guys are the best at support. This is my favorite community for getting answers.