Response formats: XML and JSON

The WebSphere® MQ File Transfer Edition Web Gateway returns responses to queries in one of two formats: XML or JavaScript Object Notation (JSON).

You can specify the format of the response from the Web Gateway by including the Accept: return-type header in the request or by including the query accept=return-type in the URI. You can use a web application to parse the content of the XML or JSON response and display it in an appropriate format to a web user.

The default format is XML. If you specify the format using both the Accept: header and the query accept= in the URI, the Web Gateway returns a response in the format specified by the query in the URI.


Reference Reference

Feedback

Timestamp icon Last updated: Tuesday, 30 January 2018
http://www.ibm.com/support/knowledgecenter/SSEP7X_7.0.4/com.ibm.wmqfte.doc/web_responses.htm