{
  "api": "http-methods",
  "title": "HTTP Request Methods",
  "description": "The HTTP request methods and their safety, idempotency, and caching semantics.",
  "emoji": "🔗",
  "license": "GPL-2.0-or-later",
  "count": 9,
  "self": "https://gratisapi.com/api/http-methods/index",
  "endpoints": {
    "list": "https://gratisapi.com/api/http-methods/index",
    "item": "https://gratisapi.com/api/http-methods/{id}"
  },
  "fields": [
    "cacheable",
    "description",
    "has_request_body",
    "id",
    "idempotent",
    "method",
    "safe"
  ],
  "results": [
    {
      "id": "get",
      "method": "GET",
      "description": "Requests a representation of the specified resource without modifying it.",
      "safe": true,
      "idempotent": true,
      "cacheable": true,
      "has_request_body": false,
      "url": "https://gratisapi.com/api/http-methods/get"
    },
    {
      "id": "post",
      "method": "POST",
      "description": "Submits an entity to the specified resource, often causing a change in state.",
      "safe": false,
      "idempotent": false,
      "cacheable": false,
      "has_request_body": true,
      "url": "https://gratisapi.com/api/http-methods/post"
    },
    {
      "id": "put",
      "method": "PUT",
      "description": "Replaces all current representations of the target resource with the request payload.",
      "safe": false,
      "idempotent": true,
      "cacheable": false,
      "has_request_body": true,
      "url": "https://gratisapi.com/api/http-methods/put"
    },
    {
      "id": "delete",
      "method": "DELETE",
      "description": "Deletes the specified resource.",
      "safe": false,
      "idempotent": true,
      "cacheable": false,
      "has_request_body": false,
      "url": "https://gratisapi.com/api/http-methods/delete"
    },
    {
      "id": "patch",
      "method": "PATCH",
      "description": "Applies partial modifications to a resource.",
      "safe": false,
      "idempotent": false,
      "cacheable": false,
      "has_request_body": true,
      "url": "https://gratisapi.com/api/http-methods/patch"
    },
    {
      "id": "head",
      "method": "HEAD",
      "description": "Identical to GET but returns only the headers without the response body.",
      "safe": true,
      "idempotent": true,
      "cacheable": true,
      "has_request_body": false,
      "url": "https://gratisapi.com/api/http-methods/head"
    },
    {
      "id": "options",
      "method": "OPTIONS",
      "description": "Describes the communication options available for the target resource.",
      "safe": true,
      "idempotent": true,
      "cacheable": false,
      "has_request_body": false,
      "url": "https://gratisapi.com/api/http-methods/options"
    },
    {
      "id": "trace",
      "method": "TRACE",
      "description": "Performs a message loop-back test along the path to the target resource.",
      "safe": true,
      "idempotent": true,
      "cacheable": false,
      "has_request_body": false,
      "url": "https://gratisapi.com/api/http-methods/trace"
    },
    {
      "id": "connect",
      "method": "CONNECT",
      "description": "Establishes a tunnel to the server identified by the target resource.",
      "safe": false,
      "idempotent": false,
      "cacheable": false,
      "has_request_body": false,
      "url": "https://gratisapi.com/api/http-methods/connect"
    }
  ]
}
