postJson
function postJson<T>(opts): Promise<T>;Defined in: core/src/transport.ts:177
POST and parse one JSON response. For the endpoints that do not stream.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T |
unknown |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
opts |
RequestInit_ |
Returns
Section titled “Returns”Promise<T>