TypeScript API / laikacms/json-api / JsonApiRequestInit
Interface: JsonApiRequestInit
Properties
body?
ts
optional body?: unknown;JSON:API document body — serialized with application/vnd.api+json.
method
ts
method: string;multipart?
ts
optional multipart?: FormData;Multipart upload body — mutually exclusive with body; the runtime sets the boundary header.