Sounds like that might be a bug if it was working before and you haven't changed the code, but that's just one way of specifying the format. Try dropping the .json
part of the URL, and that should switch to JSON right there since JSON is the default format when nothing else is specified.
If for some reason that does not work then you can also specify sending and receiving JSON format by setting the http Content-Type
and Accept
headers to value application/json
. That should do the trick.