botas-core
    Preparing search index...

    Interface InvokeResponse

    The response returned by an invoke activity handler. The status is written as the HTTP status code; body is serialized as JSON.

    interface InvokeResponse {
        status: number;
        body?: unknown;
    }
    Index

    Properties

    Properties

    status: number

    HTTP status code to return to the channel (e.g. 200, 400, 501).

    body?: unknown

    Optional response body serialized as JSON.