Closed AbtaheeAli closed 4 years ago
cache-control: In the case of this response, cache control is identifying the maximum age before it expires.
expect-ct: Allows creator to opt-in for reporting CT requirements so any misused documents/certificates should not go unseen.
content-length: Identifies the entity-body size sent to the user, in the number of OCTETS.
Your homework 04 - 01 - GET https://intro-to.api.com/knowledge was marked: Meets Expectations
“Well done!”
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.