Child pages
  • Using RESTClient for Firefox

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In HTTPClient it is very simple to query an item for JSON or XML. Set the "Method" to GET, pointed at the URL of the item we want to query. Change the "Request Header" (or "Add Request Header) so that the "Name" = "Content-TypeClick “Headers” menu item then “Custom Header".  Set the Name = "Accept" and it's " Value " = "application/json" for JSON, "application/xml" for XML, or "application/text" for the normal text that you would see in a web browser.
That's it! Push "Send" and you will be able to see your results in raw and copyable form in the "Response Body" tab or formatted in a "Formatted JSON", "Formatted XML", or "Formatted HTML" tab.

You will also be returned with the "Response Header" in it's own tab with useful information like the Status Code.

Image RemovedImage Added

Creating a basic New Item from RESTClient

...

Code Block
{"parentId":"4f28888de4b050c1ade5f38e","title":"Test Item Title"}

Image RemovedImage Added

Note

Note: If you haven't used JSON before it is basically just a map with String keys and values that can be Strings or collections of Strings. See http://www.json.org/ for more info.

...