Skip to content
BasaltSoftware
Bedrock 1.26.60

Site colour

Discord
Esc

    ↑↓ moveEnter openEsc close

    Keyboard shortcuts
    Ctrl K
    Search the whole site, from any page
    /
    Jump to the sidebar search, or search the whole site where there isn't one
    Enter
    Open the top search result
    Esc
    Clear the search, or close this panel
    ?
    Show these shortcuts

    The answer to an HttpRequest, whatever its status.

    Class in @minecraft/server-net

    The answer to an HttpRequest, whatever its status.

    import { HttpResponse } from '@minecraft/server-net';

    read-only

    readonly body: string;

    The body as text (UTF-8), at most script_net_max_body_bytes.

    read-only

    readonly headers: HttpHeader[];

    read-only

    readonly request: HttpRequest;

    The request this answers.

    read-only

    readonly status: number;

    The HTTP status, as 200 or 404.

    HttpClient.get, HttpClient.request