the expected shape of the parsed response body.
absolute URL, or a path when config.BaseURL is supplied.
Optionalbody: unknownthe request body.
Optionalconfig: Omit<HttpRequestConfig, "Url" | "Method" | "Body">optional per-request settings.
the HttpResponse.
Sends a
POSTrequest. Shorthand for HttpRequest withMethod: 'POST'.A plain object or array
bodyis JSON-encoded and given a JSONContent-Type. Pass aURLSearchParamsfor form encoding or aFormDatafor multipart, andfetchsets the correctContent-Type(including the multipart boundary) itself.