An HTTP clientProLesson 14 of 45, about 7 min
- 1
- 2
- 3
- 4
- 5
- 6
- 7
The app: Courier, an HTTP client
CourierQuickBite API
GET http://localhost:4000/v1/orders
Acceptapplication/jsondefault
ResponsePress Send to see what comes back.
The raw HTTP, as it travels
Environment what the variables stand fordev
{
"baseUrl": ,
"token":
}
Request the text Courier will sendGET /v1/orders
Host:
Accept: application/json
Response the text that came backwaiting
Nothing sent yet. Courier only sends when you press Send.
The MagisterLeft: Courier, an HTTP client. You build a request by hand and send it straight to an API, here QuickBite’s, with no app in between. Right: the exact text that travels, and the answer. The request is ready: GET /v1/orders. Press Send.
Step 1 of 7Press Send
- Send the request
You’re not signed in, so this lesson won’t be saved to your path. Sign in free to keep your XP.