Type aliases
Fetch
Fetch
: (url
: string, config
?: undefined | { body
: string; headers
: { Content-Type
?: undefined | string }; method
: "GET" | "POST" }) => Promise<FetchResponse>
Type declaration
-
- (url: string, config?: undefined | { body: string; headers: { Content-Type?: undefined | string }; method: "GET" | "POST" }): Promise<FetchResponse>
-
Parameters
-
url: string
-
Optional config: undefined | { body: string; headers: { Content-Type?: undefined | string }; method: "GET" | "POST" }