Versions Compared

Key

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

...

Use the IsSuccessHttpStatusCode property (of the Response object) to check whether the return HTTP status code from the server indicates a successful execution (200).

     Define_Com Class(#XPRIM_HttpRequest) Name(#Request)
...
#OK := #Request.Response.IsSuccessHttpStatusCode
#StatusCode := #Request.Response.HttpStatusCode

Next: Reading the Response Body