REST API debugging

Is there any way I can actually see the JSON that gets sent for my POST or GET requests?
Thanks!
Thanks!
Tagged:
2
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
The requests will look like this:
Click on "apexremote". This will bring up a panel where you need to scroll down to the very bottom and then click on "data":
Then copy the string value of the first item in the data array (If multiple Models are being saved / queried in close proximity, there may be multiple entries in this data array), and paste it into a text editor or JSON pretty printer (e.g. http://jsonprettyprint.com/ ), remembering to remove the leading and trailing spacesso that you get a nicer JSON representation of the request, e.g.
Just a quick note, you may want to update step 3 to include the fact that we need to be on the Headers tab when you click apexremote. I believe chrome defaults to your last tab, and I was on the Results tab at first, which caused a moment of confusion.
So, Step 3 should be: