HTTP from scratch · headers and body
Sol wants to book a study advice appointment at Pearl Planner. Seeing a free time is the first step. Which receipt can Sol use to check that the appointment is booked?
- Appointment code
T-01- Time
Your task
Check the available time and follow the appointment code from the form to Sol’s booking. Compare what the calendar receives each time you send the form.
Choose an available appointment
Check the appointment times and select the one on offer. Find its code in the message the form has prepared. That message is the request body.
Compare the two trial submissions
The Content-Type header tells the calendar how to read the body. Try the plain text label, then the incomplete JSON. JSON is the format the calendar uses for form data. Read the reply to each submission.
Open Sol’s receipt
Confirm the booking with the complete form. Follow the address the calendar sends back and compare the appointment code in the booking with the one you chose.
