api: "YAML JSON TOON Database"
version: "1.0.0"
format: "json"
dataset:
  slug: "http-methods"
  title: "HTTP Methods"
  description: "Complete reference of HTTP methods with descriptions and typical use cases."
  category: "Web Technologies"
  category_slug: "web-technologies"
  tags: "web,http,methods,api,rest"
  view_count: 0
data:
  - method: "GET"
    description: "Retrieves a resource. Safe, idempotent. Should not modify server state."
    request_body: false
  - method: "POST"
    description: "Submits data to the server. Not idempotent. Creates a new resource."
    request_body: true
  - method: "PUT"
    description: "Replaces a resource at a specific URI. Idempotent."
    request_body: true
  - method: "PATCH"
    description: "Partially updates a resource. Not idempotent in general."
    request_body: true
  - method: "DELETE"
    description: "Removes a resource at a specific URI. Idempotent."
    request_body: false
  - method: "HEAD"
    description: "Same as GET but returns only headers, no body. Safe, idempotent."
    request_body: false
  - method: "OPTIONS"
    description: "Returns the allowed HTTP methods for a URL. Used for CORS preflight."
    request_body: false
  - method: "TRACE"
    description: "Echoes back the received request. Used for debugging. Rarely implemented."
    request_body: false
  - method: "CONNECT"
    description: "Establishes a tunnel to the server. Used for HTTPS via proxy."
    request_body: false
