Course Information
Course Overview
Explore using JavaScript XHR and fetch to connect to multiple web API endpoints retrieve JSON data and update HTML
Access several popular web APIs and retrieve response content for web applications. Step by step instruction on how to access web APIs using JavaScript XHR and fetch to get JSON data and update your web content.
JavaScript is a prerequisite to this course - do not take this course if you do not have JavaScript core knowledge
HTML and using an editor is also a prerequisite to the course - the scope of the course is to focus on JavaScript APIs
This course covers how to make AJAX requests using the XMLHttpRequest within JavaScript as well as fetch. JavaScript code knowledge is a prerequisite for the course. Scope of this course is focused on using JavaScript to connect to web APIs.
Examples and source code accessing over 7 different APIs
Course Covers
Explore what XHR is and how it works
How to use JSON response data
Connect to Joke API to get new content and update it in your HTML page
JavaScript Objects and how it relates to JSON data
How to iterate JSON data and output it on your HTML
Use JavaScript fetch
Error handling and responses
Setting up your own JSON endpoints to practice connecting to JSON content
ES6 JavaScript fetch and short functions
Learn how to build an api that output country data
Online resources and more
Connecting to web APIs
Practice AJAX
You'll get friendly support in the Q&A area and all the source code available for download.
You will be amazed at how easy it can be to do some much.
Go ahead and hit that "take this course" button to start learning the how to use JavaScript to connect to web APIs Today.
Taught by an instructor with over 20 years of web development experience, ready to help you learn and answer any questions you may have.
What are you waiting join now to start learning JavaScript API connections, you have nothing to lose.
Course Content
- 2 section(s)
- 25 lecture(s)
- Section 1 Introduction to connecting to APIs
- Section 2 Bonus Section more JavaScript coding Examples and Code snippets
What You’ll Learn
- Use AJAX to get JSON data into their web pages
- Use XHR requests to connect to servers and APIs
- Explore how to connect to APIs
Reviews
-
RRobert Westenkirchner
learnt a lot. Pleasant voice. Some APIs are not available anymore or having a subscription model now.
-
AAndre Cid Proenca
Very basic. Sadly 2 of the APIs changed. (StarWars changed but I was able to correct the code, and to countries changed and is paid now, and the free account limits the data retrieved). I know Laurence is innocent, but he should update the lessons
-
AAnonymized User
This course is a good place to start learning Ajax. Now i have some good set of resources to play around with. Thanks
-
PParveen Gupta
We could also have content related to network tab in developer tools