The URL to request.
The HTTP method string (e.g. "DELETE", "PATCH", "HEAD").
Optionalbody: string | nullOptional request body string.
Optionalheaders: Record<string, string> | nullOptional 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.