HTTP
is an client-server protocol that allows clients to request web pages
from web servers. It is an application level protocol widely used on the
Internet. Clients are usually web browsers. When a user wants to access
a web page, a browser sends an HTTP Request message to the web server.
The server responds with the requested web page. Web servers usually use
TCP port 80.
Clients
and web servers use request-response method to communicate with each
other, with clients sending the HTTP Requests and servers responding
with the HTTP Responses. Clients usually send their requests using GET
or POST methods, for example GET /homepage.html. Web servers responds
with a status message (200 if the request was successful) and sends the
requested resource.
An example will clarify this process:
No comments:
Post a Comment