API callsProLesson 10 of 45, about 6 min
- 1
- 2
- 3
- 4
- 5
- 6
- 7
The app: QuickBite
QuickBiteYour order
Bangkok Garden, Thai25–35 min
Pad thaiRice noodles, tamarind, peanuts. $11.50 each
2
2× Pad thai$23.00
Delivery$2.99
Total$25.99
Deliver to 12 Elm Street
The data behind it
Request the app will sendPOST /orders not sent yet
{
"restaurant": ,
"items": [
{
"dish": ,
"quantity": ,
"price":
}
],
"deliverTo": ,
"note":
}
Response from the serverwaiting
Nothing has been sent yet. The server only hears about this order when you press Place order.
The MagisterOn the left is an order screen. On the right is the message it will send to QuickBite’s server when you order. That message is an API call. Find the quantity in it and tap it.
Step 1 of 7Tap the quantity in the request
- Tap
"quantity"in the request
You’re not signed in, so this lesson won’t be saved to your path. Sign in free to keep your XP.