Lesson

Requests, Codecademy, How to use APIs with JavaScript

Lesson Summary

In this lesson we are asked to make a request to codecademy.com all by ourselves. We first create a variable and store in it an HttpRequest object. We then open a request to codecademy and then send it out. Once we receive the response we then console log the status code and the status text.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: