Table of Contents

  1. HTTP Methods: Idempotent vs Non-Idempotent
  2. OPTIONS Method
  3. CORS (Cross-Origin Resource Sharing)
  4. Simple Request Flow
  5. Pre-flighted Request
  6. HTTP Response Codes
  7. Caching in HTTP
  8. Content Negotiation
  9. HTTP Compression
  10. Persistent Connections and Keep-Alive
  11. Handling Large Requests and Responses
  12. SSL, HTTPS, and TLS

HTTP Methods: Idempotent vs Non-Idempotent {#http-methods}

Idempotent Methods

Definition: GET, PUT, DELETE

These HTTP methods can be called multiple times and we cannot expect the same kind of result.

Non-Idempotent Methods