The URL to request.
The HTTP method string (e.g. "DELETE", "PATCH", "HEAD").
Optionalbody: string | null
Optional request body string.
Optionalheaders: Record<string, string> | null
Optional dictionary of request headers.
Resolves with the HTTP response.
Perform an HTTP request with any method (GET, POST, PUT, DELETE, PATCH, etc.).
Use this for methods not covered by the convenience helpers, such as DELETE or PATCH.