NETWORK ~ HTTP Protocol



     HTTP stands for Hypertext Transfer Protocol. HTTP is the protocol used to transfer data over the Web. It is part of the Internet protocol suite and defines the commands and services used to transmit data from Web pages.

    HTTP based on client/server architecture. A client, for example, can be a personal computer, a laptop, or a mobile device. The HTTP server is typically a web host running web server software, such as Apache or IIS. When you access a website, your browser sends a request to the corresponding web server and it responds with an HTTP status code. If the URL is valid and the connection is established, the server will send your browser the web page and associated files.

Some common HTTP status codes include:


    200 - request accepted (web page exists)
    301 - permanently moved (often to a new URL)
    401 - request not allowed (authorization required)
    403 - denied (access is not allowed to the page or directory)
    500 - internal server error (often caused by incorrect server configuration)

    HTTP also defines commands such as GET and POST, which are used to handle form submissions to Web sites. The CONNECT command is used to facilitate a secure encrypted connection using SSL. Encrypted HTTP connections are made via HTTPS, an extension of HTTP designed for secure data transmissions.

NOTE: 

    URLs beginning with "http://" are accessible via the HTTP protocol and use port 80 by default. URLs beginning with "https://" are accessible via a secure HTTPS connection and often use port 443.

THANK YOU for reading

You Tech 56

Follow us on social medias: linktr.ee/youtech56

Comments

Popular Posts