Skip to main content

Interface: IFetchActionConfig

Configuration for the fetch action.

Properties

url

url: string

The URL to fetch.


method?

optional method?: HttpMethod

The HTTP method to use for the fetch action.

Default

GET

headers?

optional headers?: IHttpHeaders

Optional headers to include in the fetch request.


pathParams?

optional pathParams?: IHttpRequestPathParams

Optional path parameters to include in the fetch request.


query?

optional query?: IHttpRequestQuery

Optional query parameters to include in the fetch request.


payload?

optional payload?: unknown

Payload that can be combined with payload from the trigger.