Skip to content

Glossary: Building APIs with Node.js

Accept header

Also written: Accept, Accept: application/json

A request header saying which format the client wants back. `Accept: application/json` asks the server to answer in JSON.

Where the book teaches it

Related terms

Content-TypeHeader