HTTP is a communications protocol used to connect web servers on the Internet. Its primary function is to establish a connection with the server and send HTML pages to a user’s browser. It is also used to download data from the server either to the browser or to any requesting application that uses HTTP.