DEV Community

Discussion on: ‪What is HTTP?

Collapse
cesarwibaut profile image
César Wibaut • Edited

If you want a simple explanation, HTTP is like a language. You talk in english, your browser mostly talk in HTTP.

When you search "dev.to" in your browser, it will ask the dev.to server with HTTP (just a specific syntax) to get the right file, and the dev.to server will return the webpage with the same language so your browser can understand. HTTP includes some meta-data to help your browser to understand what's going on, like status code (if the server had a problem, if the server can't find the file, etc) or even what type of data it's looking for (HTML file, plain text, image..)

You can just see HTTP a language that you never have to read if it's not your job, but without it, internet won't be as fun

Collapse
buzzedison profile image
Edison Ade Author

Oh wow. This is really good.