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

How to use APIs with JavaScript Forum

View Course

886 points
6a4626595abfa04c9427de78d9a4520e?s=140&d=retro
Submitted by
Panji Asmara
almost 3 years ago

Anatomy of a Request ?

reqruest line ? header ? body ?

some one can explain to me ?

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

This is body ? // Name=Eric&Age=26

Right ?