2

I'm using HTTP Resource Test on Firefox and want to simulate a POST request. However I didn't find where to write the post parameters. There are only URI, Representation and Headers, is there any way that I can pass with some post parameter? (In Json format?)

Bruce Lin
  • 2,700
  • 6
  • 28
  • 38

2 Answers2

1

The payload of the post should go in the body of the request. It's shown here:

https://addons.cdn.mozilla.net/img/uploads/previews/full/54/54035.png?modified=1297743921

For example, if you were posting a JSON document you could just paste the JSON in the "Body" text area.

goatshepard
  • 1,063
  • 1
  • 8
  • 18
  • I see a 'Body' text area for the server response (containing 'Life, the Universe, and Everything') but that can't be correct re: original question? – Michael Easter Jul 31 '13 at 11:07
0

The payload of the post should go in 'Client Request' / 'Representation'.

It's shown on this screenshot.

As an aside, this answer describes an excellent test server to use as a sanity-check.

Community
  • 1
  • 1
Michael Easter
  • 23,733
  • 7
  • 76
  • 107