ludwigzzz/Zendesk-API — pull request #1 by Haza (2013-01-16 11:10:06+00:00)
Title: Do not always add a .json. Look if we already have one somewhere instead.

For some calls, for example "search user", you need to perform a call that look like that :

/api/v2/users/search.json?query={query}

the .json is already there, but not at then end, therefore this will result a call like that

/api/v2/users/search.json?query={query}.json

We need to prevent that to happen.