A Study of the Web Protocol 2 — The web; HTTP Protocol Logic.

KomSr3ll
Jan 7, 2022

--

The HTTP is an application layer protocol of the web.

The server system will have a web server (Apache, Nginx, & Lighthttpd …) configured to serve the application to the public internet or intranet.

The client triggers a request to the server over the HTTP protocol, and the server accepts the request and responds accordingly.

Client-Server Logic

The syntax of the HTTP protocol is,

protocol://Host:Port/path/to/the/application

Example:-

http://abc.com:80/app/profile

http://www.abc.com:80/app/settings

http://www.abc.com:/app/settings

Note: By default, HTTP port is “80” and HTTPS is “443”, but server engineers can configure it to any port.

HTTP Messages

The image shows the HTTP messages with requests and responses.

--

--

KomSr3ll
KomSr3ll

Written by KomSr3ll

Error 404!! Buy me a coffee here: buymeacoffee.com/komsr3ll. PS: I'm sharing my learnings with you.

No responses yet