curl Wiki
The comprehensive guide to curl and HTTP requests. From basics to advanced API testing.
Quick Examples
How to read this wiki
HTTP is small enough to hold in your head, but only if the pieces are read in the right order. A status code is a promise about what happened, not a summary of why it happened. A header is a contract between two programs that may never share a release cycle. When a request fails, the useful question is not which component is at fault, but which contract was broken and where the evidence sits.
Each page here starts from the wire format and works outward: bytes, then semantics, then the operational habits that keep both stable. Where a browser and a server disagree, we show the disagreement rather than picking a winner. Where a specification leaves room, we say so. That habit makes the wiki slower to read and faster to trust, which is the trade this desk chooses on purpose.