Versions Compared

Key

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

...

     Define_Com Class(#XPRIM_HttpRequest) Name(#Request)
...
#OK := #Request.Response.IsSuccessfulRequest
#ErrorMessage := ​#Request.Response.ErrorMessage
#ErrorCode := ​#Request.Response.ErrorCode
Note
Note: Response.ErrorCode and Response.ErrorMessage indicate an error that occurs on the HTTP/network layer. If your error occurs on the application level (for example, the authorization token you passed is not valid), the error won't be reflected in the Response.ErrorCode/Response.ErrorMessage.

Next: Checking if your request completes successfully