HTTP:The Postal Service of the Internet Flashcards
Define protocol
standard for communication between machines
What 3 protocols are used in most web communication
HTTP, TCP/IP, DNS
Define HTTP
(Hypertext Transfer Protocol) High-level web communication. Transfers files such as HTML, CSS, JavaScript, images, and form submissions. Designates how requests and responses should be structured.
Define TCP/IP
Transmission Control Protocol (TCP) and the Internet Protocol (IP) Low-level web communication for transferring small bits of raw data aka packets
What is DNS?
Domain Name Service: Address book for the internet. Translates human friendly names into server addresses
How does HTTPS differ from HTTP?
HTTP protocol with a secure connection. Can’t be read in-transit due to encryption.
Describe the use of packets for transmitting files
Files are broken down into small, standardized chunks of information that are sent and reassembled after reaching their destination
What purpose do domain names serve?
ex: www.launchcode.org
This name is an alias for server IP address
Define IP address
numerical label assigned to each device connected to a computer network
What does it mean to resolve an address?
When a message is addressed to domain name, a lookup is performed on a name server. The message is sent to corresponding IP
Define nameserver
Directory of domains and IP addresses
What is a loopback address?
Alias localhost. Special IP address 127.0.0.1 used by computer to refer to itself
Define URL
Uniform resource locator aka web addresses.
Write a common URL structure
scheme://host:port/path?query_string
Describe scheme
Most often specifies protocol used in making request. Common ones include: http, https, ftp, mailto, file