Page tree

Versions Compared

Key

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

...

  1. First specify a header of "Content-Type" of appropriate value (e.g. "application/json" for JSON payload or "application/xml" for xml payload) in "in "Request" >> "Headers" sub-tab for a test case if the request body format is other than JSON / XML.
  2. Then specify the request payload (either json or xml or any other type) in "Raw Body" sub-tab. Please find below few sample screenshots for setting the request body.

Examples:

  1. Setting request body as JSON array
    Image Added
  2. Setting request body as JSON object
    Image Added