Response headers contain metadata about the response. They are set by the server and returned to you.
You only need to know about two headers for now:
Access-Control-Allow-Origin(which we discussed in the CORS lesson)Content-Type
Most of the time, you won’t need to use other response headers so there’s no need to worry about them at this point.
What you need to know is how to view the response headers if you need to debug them later. (See the request headers lesson if you need help on this).
That’s all you need to know about response headers for now.
Next, let’s examine the response body.
Welcome! Unfortunately, you don’t have access to this lesson. To get access, please purchase the course or enroll in Magical Dev School.
Unlock this lesson