Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed JavaScript Data Fetching!
You have completed JavaScript Data Fetching!
Preview
Understand how browsers send requests and receive data. Learn to use DevTools to inspect requests and visualize the HTTP request/response cycle.
Link Used
https://dog.ceo/api/breeds/list/all
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Now we're going to see how your browser
acts as a graphical interface
0:00
for these requests
and how we can inspect them easily.
0:00
When you type a URL into your browser
and press enter,
0:04
your browser is actually sending an HTTP
GET request behind the scenes.
0:07
You don't see it in text form
like we did in the last video.
0:12
The browser hides all the details for you,
so it feels like magic.
0:15
But under the hood, it's the same process.
0:19
Could you imagine
having to write out a request like that
0:21
every time you wanted to go to a website
or even click a link?
0:24
Yikes.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up