masterplan-calendar-frontend / apiFetch
Function: apiFetch()¶
apiFetch(
path,options?):Promise\<Response>
Defined in: src/lib/api.ts:17
Fetch with credentials and a CSRF header on mutating methods.
Returns the raw response so callers can decide how to handle status codes.
Parameters¶
path¶
string
options?¶
RequestInit = {}
Returns¶
Promise\<Response>