Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

πŸ€– Artificial Intelligence
☁️ Cloud and Infrastructure
πŸ’Ύ Data and Databases
πŸ’Ό Professional Skills
🎯 Programming and Development
πŸ”’ Security and Networking
πŸ“š Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
Β© 2026 CheatGridβ„’. All rights reserved.
Privacy PolicyTerms of UseAboutContact

HTTP Cheat Sheet

HTTP Cheat Sheet

Back to Web Development
Updated 2026-04-27
Next Topic: HTTPS Cheat Sheet

HTTP (Hypertext Transfer Protocol) is the foundation of data exchange on the Web, operating as a request-response protocol between clients (browsers, apps) and servers. Defined in RFC 9110 and preceding standards, HTTP enables communication through methods, status codes, and headers that control how resources are requested, delivered, cached, and secured. Understanding HTTP means understanding how the modern internet works β€” every API call, webpage load, and data transfer relies on this protocol. A critical distinction: HTTP itself is stateless β€” each request is independent, requiring mechanisms like cookies or tokens to maintain state across interactions.

What This Cheat Sheet Covers

This topic spans 23 focused tables and 191 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: Request MethodsTable 2: Informational Status Codes (1xx)Table 3: Success Status Codes (2xx)Table 4: Redirection Status Codes (3xx)Table 5: Client Error Status Codes (4xx)Table 6: Server Error Status Codes (5xx)Table 7: Request Headers β€” GeneralTable 8: Request Headers β€” Fetch MetadataTable 9: Request Headers β€” Conditional RequestsTable 10: Response Headers β€” GeneralTable 11: Response Headers β€” CachingTable 12: Response Headers β€” ContentTable 13: Authentication HeadersTable 14: CORS HeadersTable 15: Security HeadersTable 16: Cookie HeadersTable 17: Proxy and Forwarding HeadersTable 18: Common Media Types (MIME Types)Table 19: HTTP VersionsTable 20: Method PropertiesTable 21: Connection ManagementTable 22: URL ComponentsTable 23: Compression Algorithms

Table 1: Request Methods

MethodExampleDescription
GET
GET /users/123
β€’ Retrieves a resource from the server
β€’ safe and idempotent β€” multiple identical requests produce the same result.
POST
POST /users
{"name": "Alice"}
β€’ Submits data to create a new resource
β€’ not idempotent β€” repeated calls may create multiple resources.
PUT
PUT /users/123
{"name": "Bob"}
β€’ Replaces the entire resource at the specified URI
β€’ idempotent β€” repeated calls have the same effect.
PATCH
PATCH /users/123
{"name": "Charlie"}
β€’ Partially updates a resource without replacing it entirely
β€’ not guaranteed idempotent but often implemented as such.
DELETE
DELETE /users/123
β€’ Removes the specified resource
β€’ idempotent β€” deleting the same resource multiple times has the same effect.

More in Web Development

  • htmx Hypermedia-Driven Approach Cheat Sheet
  • HTTPS Cheat Sheet
  • AngularJS Cheat Sheet
  • CSS Grid Layout Cheat Sheet
  • React Frontend Framework Cheat Sheet
  • SvelteKit Meta-Framework Cheat Sheet
View all 43 topics in Web Development