Closed aksnell closed 4 years ago
That contains 3 requests + a head image.
For a few headers,
set-cookie tells the browser to store a cookie which the server can request back later.
date is the time in which the message originated.
age is how long in seconds the image has been in a proxy cache before being served to you, 0 indicates it was actually sent from the origin.
accept ranges indicates the origin allows partial requests from the browser indicated in a range of some unit, which in this case is bytes.
Your homework 04 - 01 - GET https://intro-to.api.com/knowledge was marked: Meets Expectations
“Great job!”
In this project, you will practice accessing an API. You'll see how an API request is made, and see how data is returned from an API
Objectives
Explorer Mode
Insomnia
tool to make a few queries of the API.Insomnia
showing your request and the response output.X-
it is a custom header and likely is documented by your API. Other headers are more standard and can be google searched.Adventure Mode
Read the documentation on this API: https://one-list-api.herokuapp.com/
Choose your access token from your first and last name. For example
jane-doe
orron-swanson
.Insomnia
to insert 6 items in the list associated with your access token. Attach screenshots of the request and results screen.Insomnia
to mark 2 of these items complete. Attach screenshots of the request and result screen.Insomnia
to delete 1 of the non-complete items. Attach screenshots of the request and result screen.Epic Mode
HttpClient
class to make requests to any of the APIs you used in Adventure mode.