Introduction to HTTP Flashcards
What is HTTP? and what does it do?
A request-response based protocol
A core operational protocol used by web clients (devices) and web servers
Enables web browser to communicate w/ web server that hosts a website
It works to transfer web resources such as HTML files, as the foundation of any data exchanges on the web
What is special about HTTPS
This is a secure form of sending information
Describe the request response pathway
Requests are sent by the client, usually a web browser, and the server replies w/ responses which may be the return of an image or an HTML page
What does an HTTP syntax include?
Method
Path
Versions
Headers
Do HTTP responses follow a similar format to the request?
YEs
What do HTTP status codes indicate?
Whether the HTTP request successfully completed or not
What is a status code?
A 3 digit number that corresponds w/ groups representing different types of results
What does HTTP Stand for?
Hypertext Transfer Protocol
What 4 things do an HTTP request consist of? Describe them
Method: describes the type of action that the client was to perform (get post put delete)
Path: representation of where the resource is stored on the webserver
Version
Headers
What are the primary/most commonly used HTTP methods? Describe them
GET: retrieves information from the given server
POST: used to send data to the server
PUT: updates whatever currently exist on the website w/something else
DELETE: removes the resource
Are there multiple versions of the HTTP protocol? Name 2
Yes, Version 1.1 & 2 are most used