Skip to main content

Function: apiGet()

apiGet(url, args, burstCache): Promise<{ headers: {[index: string]: any; }; json: any; }>

Defined in: packages/core/src/data/api/fetch-utils.ts:42

Fetch Wrapper to handle GET requests.

Parameters​

url​

string

The URL where to make the request to

args​

The arguments

burstCache​

boolean = false

Whether it should burst cache

Returns​

Promise<{ headers: {[index: string]: any; }; json: any; }>