Versions Compared

Key

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

...

While query fields and request header fields must conform to the patterns noted in the HTTP specification, parameters in the request body are always developer-defined and must be documented carefully. It is impossible to cover every possible response format and media type, so we'll focus on the two most likely cases: JSON (e.g., {"status" : "active"}) and XML (e.g., <status>active</status>). Regardless of the media type, use the GetHTTPValue service to retrieve the content of the body and then parse the data with the best tools available.

...

For an XML formatted response body, we recommend use using the SRP_Extract_XML library. Again, here is a simple example:

...