Closed Agent-Banks closed 4 years ago
Header types Cache-Control: used to specify browser caching policies in both client requests and server requests. These policies include how the resource is cached, where it's cached and its max-age before expiring. Accept-Ranges: a marker used by the server to show its support of partial requests. The browser may try to resume an interrupted download rather than start it from the beginning again. CF-Cache-Status: This means the site is using Cloudflare. The value in this header is DYNAMIC. This means that the resource is not cached by default and there is no resources to cache it.
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.