Loading lesson…
Level 1 · Apprentice0 XP
Requests, responses, status codes, and what changed from HTTP/1.1 to HTTP/3.
Step 1 / 5
ProblemA teammate says the API 'does not work'. Is the URL wrong, is the user not logged in, or did the server crash? HTTP already answers that question, if you can read it.
← → step
Before this: TCP connections in depth
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.With curl -i, call three URLs of any public API: one that works, one that does not exist, and one that needs a login. Write down the status code of each and whose problem it is.