Skip to main content
The CustomApiResourceClient allows you to make HTTP requests to external APIs that you have configured as connectors in Major.

Usage

Inputs

The invoke method accepts the following arguments:
string
required
The HTTP method to use: "GET", "POST", "PUT", "PATCH", or "DELETE".
string
required
The URL path to append to the resource’s base URL.
string
required
A unique identifier for this operation.
object
Optional configuration object.

Outputs

On success (ok: true), the result object contains:
"api"
Discriminator for the response type.
number
The HTTP status code returned by the API.
ResponseBody
The response body.