Skip to content

Instantly share code, notes, and snippets.

@lorello
Created June 3, 2015 14:06
Show Gist options
  • Select an option

  • Save lorello/17becc4834159bacda6e to your computer and use it in GitHub Desktop.

Select an option

Save lorello/17becc4834159bacda6e to your computer and use it in GitHub Desktop.
API Verbs from RFC 7231
+---------+-------------------------------------------------+-------+
| Method | Description | Sec. |
+---------+-------------------------------------------------+-------+
| GET | Transfer a current representation of the target | 4.3.1 |
| | resource. | |
| HEAD | Same as GET, but only transfer the status line | 4.3.2 |
| | and header section. | |
| POST | Perform resource-specific processing on the | 4.3.3 |
| | request payload. | |
| PUT | Replace all current representations of the | 4.3.4 |
| | target resource with the request payload. | |
| DELETE | Remove all current representations of the | 4.3.5 |
| | target resource. | |
| CONNECT | Establish a tunnel to the server identified by | 4.3.6 |
| | the target resource. | |
| OPTIONS | Describe the communication options for the | 4.3.7 |
| | target resource. | |
| TRACE | Perform a message loop-back test along the path | 4.3.8 |
| | to the target resource. | |
+---------+-------------------------------------------------+-------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment