Skip to content
providerkit
GitHub

postJson

function postJson<T>(opts): Promise<T>;

Defined in: core/src/transport.ts:264

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>