Skip to content

HttpRequestData

HttpRequestData represents the data required to construct an HTTP request

Not newable

This object cannot be created by scripts using Instance.New().

Properties

URL : string

The target endpoint of the HTTP request.

Method : HttpRequestMethod

The HTTP method used for the request.

Body : string

The payload sent with the request.

Headers : table

A table of HTTP headers to include with the request, represented as key-value pairs.

Methods

New → HttpRequestData

Parameters: ``

Creates and returns a new instance of HttpRequestData