HTTPMethod:
    | "get"
    | "GET"
    | "put"
    | "PUT"
    | "post"
    | "POST"
    | "patch"
    | "PATCH"
    | "delete"
    | "DELETE"
    | "purge"
    | "PURGE"
    | "head"
    | "HEAD"
    | "link"
    | "LINK"
    | "unlink"
    | "UNLINK"
    | "options"
    | "OPTIONS"

Represents the HTTP methods that can be used in requests.

The Method type includes both lowercase and uppercase versions of the HTTP methods:

  • get / GET
  • put / PUT
  • post / POST
  • patch / PATCH
  • delete / DELETE
  • purge / PURGE
  • head / HEAD
  • link / LINK
  • unlink / UNLINK
  • options / OPTIONS

APIEndpoint