Complete the HTTP Header
Fill in the Blank Easy
Question
Fill in the blank to tell the client the response is JSON.
Code
HTTP/1.1 200 OK
___: application/json
{"name": "Ada"}
Hint
It is the standard header for declaring the media type of the response.
Explanation
The Content-Type header tells the client what media type the response body is. For JSON, it is 'Content-Type: application/json'. For HTML it would be 'text/html', and for images it would be 'image/png' etc.
Related Resources
Related Lessons
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.