Accept Header Explained
What the HTTP Accept header does and when it's used.
Published October 13, 2026
The Accept header tells the server which response content types the client can understand.
Key points
- A client can list multiple types with quality values, like "application/json, text/html;q=0.9"
- Most APIs support one format and largely ignore this header