Script API - v1.26.30.27
    Preparing search index...

    Main object that contains result information from a request.

    export class HttpResponse {
    private constructor();
    readonly body: string;
    readonly headers: HttpHeader[];
    readonly request: HttpRequest;
    readonly status: number;
    }
    Index

    Constructors

    Properties

    Constructors

    Properties

    body: string

    Body content of the HTTP response.

    This property can't be read in early-execution mode.

    headers: HttpHeader[]

    A collection of HTTP response headers returned from the request.

    This property can't be read in early-execution mode.

    request: HttpRequest

    Information that was used to formulate the HTTP response that this object represents.

    This property can't be read in early-execution mode.

    status: number

    HTTP response code for the request. For example, 404 represents resource not found, and 500 represents an internal server error.

    This property can't be read in early-execution mode.