Skip to content

Glossary: Go Beyond the Basics

Content-Type

Also written: Content-Type header

A header saying what kind of data the body holds, such as `application/json`. `writeJSON` sets it so clients know to read JSON.

Where the book teaches it

Related terms

headersbody