From the course: Introduction to Web APIs
Unlock the full course today
Join today to access over 23,200 courses taught by industry experts.
Challenge: Display data on a webpage - REST Tutorial
From the course: Introduction to Web APIs
Challenge: Display data on a webpage
(bright music) - [Instructor] Okay, hopefully you've enjoyed working with H+ Sport's API and feel like you've been learning a lot and getting more comfortable. Now it's time for a challenge. This should give you an opportunity to play around with the API a little bit on your own and then the next video I'll show you how I would approach this. So for this one, we want to add an extra piece of information. Now let's add the price of each product to the page. And then, in addition to that, right now we have the products ordered by their name, let's change that so we order the products by price. Okay, have fun, best of luck, and then check out the next video, and we'll walk through it together.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
API documentation2m 23s
-
(Locked)
Make a request to the API2m 36s
-
(Locked)
Filter the response with parameters3m 54s
-
(Locked)
Access data in the response2m 38s
-
(Locked)
Use the response data in HTML1m 47s
-
(Locked)
Loop through the response data4m 28s
-
(Locked)
Challenge: Display data on a webpage42s
-
(Locked)
Solution: Display data on a webpage1m 41s
-
(Locked)
-
-
-
-