Request OptionsAll options shared with the Fetch APICopy MarkdownOpenThis page documents the configuration options that callApi shares with the Fetch API. PropTypebody?SerializableObject | array | object | string | nullheaders?array | Record<string, string | undefined> | Record<CommonRequestHeaders, string | undefined> | Record<"Content-Type", AnyString | "video/x-msvideo" | "video/webm" | "video/ogg" | "video/mpeg" | "video/mp4" | "video/mp2t" | "video/av1" | "video/3gpp2" | "video/3gpp" | "text/plain" | "text/javascript" | "text/html" | "text/csv" | "text/css" | "text/calendar" | "model/gltf+json" | "model/gltf-binary" | "image/x-icon" | "image/webp" | "image/tiff" | "image/svg+xml" | "image/png" | "image/jpeg" | "image/gif" | "image/bmp" | "image/avif" | "font/woff2" | "font/woff" | "font/ttf" | "font/otf" | "audio/x-midi" | "audio/webm" | "audio/opus" | "audio/ogg" | "audio/mpeg" | "audio/aac" | "application/zip" | "application/xml" | "application/xhtml+xml" | "application/wasm" | "application/vnd.ms-fontobject" | "application/rtf" | "application/pdf" | "application/ogg" | "application/octet-stream" | "application/ld+json" | "application/json" | "application/gzip" | "application/epub+zip" | undefined> | Record<"Authorization", `Token ${string}` | `Bearer ${string}` | `Basic ${string}` | undefined> | objectmethod?"TRACE" | "PUT" | "POST" | "PATCH" | "OPTIONS" | "HEAD" | "GET" | "DELETE" | "CONNECT" | AnyStringcache?"reload" | "only-if-cached" | "no-store" | "no-cache" | "force-cache" | "default"credentials?"same-origin" | "omit" | "include"integrity?stringkeepalive?booleanmode?"no-cors" | "navigate" | "cors" | "same-origin"priority?"low" | "high" | "auto"redirect?"manual" | "follow" | "error"referrer?stringreferrerPolicy?"unsafe-url" | "strict-origin-when-cross-origin" | "strict-origin" | "origin-when-cross-origin" | "origin" | "no-referrer-when-downgrade" | "no-referrer" | "same-origin" | ""signal?object | nullwindow?nullduplex?"half"Edit on GitHubLast updated on Base Extra OptionsOptions that can be passed to the createFetchClient function