- fetchJson(url: string | URL, opts?: Partial<Partial<{ body: any; headers: any; method: RFC9110Methods; signal: AbortSignal; timeout: number }>>): Promise<any>
-
Parameters
-
url: string | URL
-
opts: Partial<Partial<{ body: any; headers: any; method: RFC9110Methods; signal: AbortSignal; timeout: number }>> = {}
Returns Promise<any>