Bodge.app

class HttpRequest


fields


HttpRequest.method


HttpRequest.method : string

The HTTP method the request should use.

HttpRequest.url


HttpRequest.url : string

The URL to which the request should be made.

HttpRequest.params


HttpRequest.params : table

A map of query parameters to be added to the URL.

HttpRequest.headers


HttpRequest.headers : table

A map of HTTP headers to be added to the request.

HttpRequest.body


HttpRequest.body : string

The body of the HTTP request.