Skip to content

InternalRequest

Defined in: src/types/rest.ts:68

apiMethod: APIMethod;

Defined in: src/types/rest.ts:69


optional headers?: Record<string, string>;

Defined in: src/types/rest.ts:57

Additional headers to add to this request

RequestData.headers


optional meta?: Record<string, unknown>;

Defined in: src/types/rest.ts:65

Custom metadata to assign.

RequestData.meta


method: RequestMethod;

Defined in: src/types/rest.ts:70


optional params?: Record<string, string | number | boolean>;

Defined in: src/types/rest.ts:53

Query string parameters to append to the called endpoint

RequestData.params


retries: number;

Defined in: src/types/rest.ts:71


optional signature?: boolean;

Defined in: src/types/rest.ts:61

Should this called be signed with the signature.

RequestData.signature