This forum is now read-only. Please use our new forums at discuss.codecademy.com.

How to use APIs with JavaScript Forum

View Course

494 points
Picture
Submitted by
Juan Gallardo
over 3 years ago

What is the question in "Anatomy of a Request"?

This does not tell me much

Check out the text in the editor. This is what a typical request looks like!

ok I see it

Note the POST information in the request line, the header information below it, and the data to be POSTed at the bottom (line 5).

OK I noted it, what do you want me to do? there is no hint either with this code.

// POST /codecademy/learn-http HTTP/1.1
// Host: www.codecademy.com
// Content-Type: text/html; charset=UTF-8

// Name=Eric&Age=26

For some reason clicking Submit did nothing the first time. But the second time it finally pushed me through. The writing needs to be more clear that this was just an example.