Hierarchy

Properties

body?: string | object
headers?: Record<string, string>
method?: "GET" | "POST"
query?: Record<string, unknown>

Query params. An object with key-value pair.

The object will be serialized as query string and appended to the url.

Generated using TypeDoc