Skip to content

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 Parameter Default type
T unknown
Parameter Type
opts RequestInit_

Promise<T>