Nearly everyone in the world has heard of HTTP (or HTTPS). It appears when we load pages on the Internet, like https://hexlet.io. HTTP is a language (protocol) that developers of browsers, servers, websites, mobile applications and ordinary programs have agreed to use to exchange data over the network. Thanks to this, we can use different browsers and open different sites without having to worry about whether or not they're suitable for each other. Imagine if there was only one way to charge all devices. That would be cool, right?
HTTP works according to the client-server model. This means that during interaction, there are two sides: the client that requests data, and the server that responds to the request. The role of the client is played by the browser.
Every time we enter a website address or click on a link, a new request is sent to the server, which generates an HTML page and returns it to the browser, which then displays it. More or less the same thing happens with mobile applications, although that's hidden from us. The data and logic of most applications are on the server, and the application simply accesses it when required.
HTTP permeates the entire development from beginning to end, whether it's backend or frontend. Any web developer will write code that executes HTTP requests or, at a minimum, generates HTTP responses (the simplest sites). Knowledge of HTTP is part of the foundation that any web programmer in the modern world should have.
What does it affect? Here are some things you can do better knowing how HTTP works:
This course introduces HTTP at the most fundamental level, in a way that doesn't depend on the language, browser, or technology used. It'll talk about the setup of the protocol itself and you how to use it correctly.
The Hexlet support team or other students will answer you.
A professional subscription will give you full access to all Hexlet courses, projects and lifetime access to the theory of lessons learned. You can cancel your subscription at any time.
Programming courses for beginners and experienced developers. Start training for free
Our graduates work in companies:
From a novice to a developer. Get a job or your money back!
Sign up or sign in
Ask questions if you want to discuss a theory or an exercise. Hexlet Support Team and experienced community members can help find answers and solve a problem.