flâneur — a map of the web's best reading

ELI5: What is the relationship of TCP/IP, HTTP or HTTPS, and REST API? : r/explainlikeimfive

reddit.com · 6 words · saved by 1 readers

Explain Like I'm Five is the best forum and archive on the internet for layperson-friendly explanations. Don't Panic! On the internet, data is transmitted in packets. These packets may get lost or thrown away so they are referred to as "lossy". TCP is a protocol (an agreement) on how computers will communicate via lossless streams of data rather than lossy packets. To do this, it contains algorithms (rules) for reordering and retrying lost packets. HTTP is a protocol on top of TCP where one computer requests or sends a particular piece of information along with a command that indicates what to retrieve or accept, such as GET, POST, PUT, DELETE, etc. HTTPS is a secure wrapper around HTTP that encrypts the data to prevent spying and ensures that the server isn't a fake server pretending to be the real one. REST is a style of communication between two computers that sits on top of HTTP or HTTPS. It's essentially HTTP plus some rules about how to make requests of another computer, not ju

Reddit - Please wait for verification

Explore this link on the map →

related reading