If you append the parameter format to any URL request and specify the value as either json or xml, for example, format=json
or format=xml
, the server will send the response in that format. This technique can help you verify the data that returns from the server and help identify whether a problem is on the server or client side. For example, you could view the JSON results returned from a browse request:
![This illustration is described in the preceding text.](media/image27.jpeg)
JSON output for debugging