Type Alias HttpTransformDefinitionBeta

HttpTransformDefinition: {
    data?: string | {
        [k: string]: any;
    };
    headers?: {
        [k: string]: string;
    };
    method:
        | "GET"
        | "POST"
        | "PUT"
        | "DELETE"
        | "PATCH"
        | "HEAD";
    type: "http";
    url: string;
}

Type representing an HTTP transform definition.

Type declaration

  • Optional Betadata?: string | {
        [k: string]: any;
    }

    Optional data for the HTTP request.

  • Optional Betaheaders?: {
        [k: string]: string;
    }

    Optional headers for the HTTP request.

    • [k: string]: string
  • Betamethod:
        | "GET"
        | "POST"
        | "PUT"
        | "DELETE"
        | "PATCH"
        | "HEAD"

    The HTTP method for the transform.

  • Betatype: "http"

    The type of the transform, always 'http' for this type.

  • Betaurl: string

    The URL for the HTTP request, can be relative to the url of the deployed app