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 [9]{method,description,request_body}: GET,"Retrieves a resource. Safe, idempotent. Should not modify server state.",false POST,"Submits data to the server. Not idempotent. Creates a new resource.",true PUT,"Replaces a resource at a specific URI. Idempotent.",true PATCH,"Partially updates a resource. Not idempotent in general.",true DELETE,"Removes a resource at a specific URI. Idempotent.",false HEAD,"Same as GET but returns only headers, no body. Safe, idempotent.",false OPTIONS,"Returns the allowed HTTP methods for a URL. Used for CORS preflight.",false TRACE,"Echoes back the received request. Used for debugging. Rarely implemented.",false CONNECT,"Establishes a tunnel to the server. Used for HTTPS via proxy.",false