Lessons
Projects
Bootcamp
Blog
Previous Lesson
Client-Side Coding with JavaScript
Calling APIs from JavaScript
Next Lesson
Description
jQuery.ajax(), XMLHttpRequest, Fetch
Topics
Postman
APIs
Slides
Calling APIs
Tools for Exploration
Postman
https://www.getpostman.com/apps
cURL
https://curl.haxx.se/
HTTPie
https://httpie.org/
Postman
Postman is a client for interacting with APIs
DEMO TIME
Postman Demo
How to
Query an API endpoint
Pass parameters (params) within the request
Read the formatted response within the UI
Save collections of requests
Links
https://www.codecademy.com/tracks/parse
https://scotch.io/tutorials/how-to-use-the-javascript-fetch-api-to-get-data
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
https://www.npmjs.com/package/node-fetch
Suggested Projects
Dothraki Translator
Socket Chat
Umbrella Today
Outline
Calling APIs
Tools for Exploration
Postman
Postman Demo
Links
Projects
Show Slides
Previous Lesson
Client-Side Coding with JavaScript
Calling APIs from JavaScript
Next Lesson