Anatomy of a Request, Codecademy, How to use APIs with JavaScript

Channel:
Subscribers:
8,020
Published on ● Video Link: https://www.youtube.com/watch?v=LKCjjf3wKP4



Duration: 1:31
69 views
2


In this lesson we look over the anatomy of making a request. There are 3 things that make up an http request. A request line, a header, and a body. A request lines tells the server what type of request is being made(POST, GET, etc). A header which sends additional information to the server such as who is making the request. The body can be empty but it can contain data is one is POSTing or PUTing information.







Tags:
javascript apis
http requests
https requests
making http request
REST api
RESTFUL APIS