FetchOptions🔗
Fetch options
Definition🔗
export interface FetchOptions {
method: dashboard.HttpRequestMethod;
url: string;
body?: string;
// These are 2D arrays of strings, each representing a key-value pair
// We are defining this way because we can't generate a go struct that
// that would have exactly two strings in each sub-array
queryParams?: string[][];
headers?: string[][];
}