ELI5: What is the relationship of TCP/IP, HTTP or HTTPS, and REST API? : r/explainlikeimfive
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
related reading
- How does the Internet Work? - cs.fyics.fyi
- REST API: Everything You Need to Know | Directusdirectus.io
- The HTTP protocolthevalleyofcode.com
- REST vs. SOAPredhat.com
- What is TCP/IP in Networking? | Fortinetfortinet.com
- 40 maps that explain the internetvox.com
- The Internet explained from first principlesexplained-from-first-principles.com
- How TCP worksthevalleyofcode.com
- Networking tutorials and articles | Flavio Copesthevalleyofcode.com
- Why your website should be under 14kB in size | endtimes.devendtimes.dev
- SOAP vs REST vs JSON - a 2023 comparison · Raygun Blograygun.com
- How Browsers Workhowbrowserswork.com