The HTTP client helper functions are used for error handlingIf you encounter issues using HTTP Client functions, you can use the functions below to find more information on the error or exception.
httpGetLastErrorCode
This function gets the last error code set.
...
Parameter | Description |
---|---|
Returns | The HTTP status code. It will be |
httpGetLastErrorMessage
This function gets the last error message.
...
Parameter | Description |
---|---|
Returns | The HTTP status message. It will be |
httpGetLastErrorResponse
This function gets the last response if the connection failed but the server sent useful data nonetheless.
...
Parameter | Description |
---|---|
Returns | A document from the HTTP server. It will be an empty string if no error occurred. Note that calling the |
httpGetLastResponseHeader
This function retrieves the header from the last HTTP response.
...
Parameter | Description |
---|---|
Returns | A map containing the response header |
Scroll ignore | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||