Skip to main content
Module

x/oak_commons/method.ts>HTTP_METHODS

A set of APIs for handling HTTP and HTTPS requests with Deno 🐿️ 🦕
Very Popular
Latest
variable HTTP_METHODS
import { HTTP_METHODS } from "https://deno.land/x/oak_commons@0.10.1/method.ts";

A constant array of common HTTP methods.

This list is compatible with Node.js http module.

type

| "ACL"
| "BIND"
| "CHECKOUT"
| "CONNECT"
| "COPY"
| "DELETE"
| "GET"
| "HEAD"
| "LINK"
| "LOCK"
| "M-SEARCH"
| "MERGE"
| "MKACTIVITY"
| "MKCALENDAR"
| "MKCOL"
| "MOVE"
| "NOTIFY"
| "OPTIONS"
| "PATCH"
| "POST"
| "PROPFIND"
| "PROPPATCH"
| "PURGE"
| "PUT"
| "REBIND"
| "REPORT"
| "SEARCH"
| "SOURCE"
| "SUBSCRIBE"
| "TRACE"
| "UNBIND"
| "UNLINK"
| "UNLOCK"
| "UNSUBSCRIBE"
[]