This workshop will be retired on August 31, 2026.
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 Working with the Fetch API!
You have completed Working with the Fetch API!
Preview
Learn an easier way to make network requests and handle responses with the Fetch API. Fetch provides a modern, friendly data-fetching interface that's native to the browser.
Resources
Related Courses and Workshops
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
[MUSIC]
0:00
Most websites and applications
retrieve and send information to and
0:00
from a remote server using JavaScript.
0:04
For example, make a request to an API and
0:06
use the return data to update
the contents of a page.
0:09
Or post data submitted
by a forum to a server.
0:12
You may have heard of, or worked with,
AJAX, or Asynchronous JavaScript and XML.
0:15
AJAX provides a combination of
technologies that give developers a way to
0:19
send and receive data asynchronously,
in the background.
0:23
Without reloading the page, which makes
your app feel fast and responsive.
0:26
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