HTTP(S) Flashcards
What is HTTP?
HTTP stands for HyperText Transfer Protocol and is used for communicating with web servers for transmitting of webpage data.
What is HTTP(S)?
HTTP(S) is just the secure version of Hypertext Transfer Protocol, meaning that it’s encrypted. Encrypted meaning that no can see any of the data that you send or receive also you have an assurance that you’ll be communicating with the right web server.
What’s a URL?
A URL is a set on instructions on how to access resources from the internet, also a URL is made up of 7 parts.
What are the seven parts of a URL?
Scheme, User, Host, Port, Path, Query String, and Fragment
What are HTTP Methods?
HTTP Methods are different ways of making your intention clear when you are sending an HTTP Request, theres a couple of different HTTP Methods but the ones that you should keep in mind are GET and POST.
GET Request
This method is used for getting information from a web server
POST Request
This method is used to add new information to the web server, likely adding new entries
PUT Request
This method is used so that you can replace already existing information on the web server. Essentially updating the information.
DELETE Request
This method is used to delete information from the web server
What is a Header?
A header is additional bits of data that you can send to a web server when making a request. Some different headers are sent from the client and sent back to the client from a web server.
What are Cookies?
Cookies are just small bits of data that are stored on your computer, Cookies get saved when you receive a Set-Cookie Header from the web server
What are Cookies used for?
Because HTTP is Stateless, it typically will not remember any information about you, this is where cookies come in to help the web server remember user information and key credentials