@beholdio/ts-lambda-api - v2.4.8
    Preparing search index...

    Class ApiRequest

    AWS Lambda HTTP request event. Used for testing, enabling manually passing requests to a ApiLambdaApp instance.

    Index

    Constructors

    Properties

    body: string

    HTTP request event body, potentially Base64 encoded.

    headers: object = {}

    HTTP request headers as a map.

    httpMethod: string

    HTTP method ('GET', 'POST', 'PUT' etc.)

    isBase64Encoded: boolean

    Is the body property Base64 encoded?

    path: string

    Request URL path. Excludes protocol, host and port.

    queryStringParameters: object = {}

    HTTP request query string parameters as a map.