zap-cdk
    Preparing search index...

    Interface IRequest

    Interface representing a single request configuration. IRequest

    interface IRequest {
        data?: string;
        headers?: string[];
        httpVersion?: string;
        method?: string;
        name?: string;
        responseCode?: number;
        url: string;
    }
    Index

    Properties

    data?: string

    Optional data to send in the request body, supports vars.

    headers?: string[]

    Optional list of additional headers to include in the request.

    httpVersion?: string

    The HTTP version to send the request with, default: HTTP/1.1.

    method?: string

    Non-empty request method, default: GET.

    name?: string

    Optional name for the request, for documentation only.

    responseCode?: number

    Optional expected response code.

    url: string

    Mandatory URL of the request to be made.