Skip to content

HTTPData

HTTPData provides methods to read the body of the response and properties about the response.

Properties

success

success: boolean

Whether the request was successful.

statusCode

statusCode : number

HTTP Status code of the response.

reasonPhrase

reasonPhrase : string

Message of the status code.

headers

headers : table

Key-value pairs of all headers received.


Last update: March 11, 2023
Created: March 11, 2023