Created
March 11, 2019 15:59
-
-
Save manojpanta/ff2f8930689f0f2578afd1a42ae50b02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A Request line, containing three piece of information: | |
the HTTP method (also called a “verb”) for sending or retrieving information | |
the URI “path” of the resource where we’re sending or retrieving information | |
the version of the HTTP protocol our “client” software is using | |
Headers, which is a key/value pair, which contain supplimental information about our request | |
An optional body; we only send data to the server in the body when we are creating or modifying something | |
response. | |
a Status line, containing three pieces of information: | |
The version of the HTTP protocol that this response is using | |
a 3-digit numeric “status code” | |
a user-friendly string description of what the “status code” means | |
Headers, also sent as key/value pairs similar to the HTTP request | |
An optional body; almost all responses will contain additional data in the body. In mod 2, our “body” payload will almost always be HTML. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment