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.
Glossary: Go Beyond the Basics
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.