Starting with XML ValidatorBuddy 6 and JSONBuddy 4.1 you can quickly load XML or JSON data from an arbitrary web address. Use the integrated Web Service Query window to send your HTTP requests to any URL and to retrieve the response data directly in the editor. If the response is well-formed XML or JSON, the response Grid is filled automatically.
The following actions are available from the toolbar:
- Send command: This command sends the HTTP request to the target URL.
- Create document from response: If any response data is present, this command created a new JSON or XML document in the editor.
There is also a multi-line edit field to enter the URL. This URL can also contain the HTTP query string parameters. The drop-down field is used to select the HTTP verb for the request.
On setting the check-box to use the active document, the content is sent as additional request data to the URL. This allows switching quickly between multiple versions of request data by simply changing the active document.
The response field contains the information retrieved from the last HTTP request. If the content is either well-formed XML or JSON, the Grid tab shows the structured data. In any case, the Header and Body tabs are filled with the raw text response.