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.
Glossary: Building APIs with Node.js
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.