Optionalinit: RequestInitOptionalinit: RequestInitGET shorthand
Optionalparams: Record<string, string | number | boolean | undefined>POST shorthand
Optionalbody: unknownPUT shorthand
Optionalbody: unknownMake a raw HTTP request. Path template placeholders like {id} are substituted
from matching keys in query before the remaining query params are appended to
the URL as search parameters.
Low-level HTTP client that returns raw responses without throwing on non-2xx status codes. Useful when you need access to status codes, headers, or want to handle errors manually.
Example