Versions Compared

Key

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

If you are new to web service interfaces, first review HTTP Response Structure for an overview of what information you can typically find in an HTTP response.

Example: Queried a web service from Building HTTP Requests

  • use sample json response

HTTP status codes provide valuable information about the outcome of the request, and based on these codes, different actions can be taken, such as retries or error handling.

  • conditional logic to handle status codes and parse response

    • queue successful payload for downstream processing

    • parse error messages

      • retry or log errors?

...