Basic client server communication (web based)

1. Browser is launched with site address.

2. Request is made to the server via a router.

3. This communication happens via a protocol (examaple TCP/IP,http)

4. Server looks for requested paths and resolves it with appropriate response.

Types of methods:

1. GET: The form data is encoded within a URL in a browser.

2. POST: The form data appears within the message body. Its usually used to update, post data, or example buy a product.

3.PUT :Uploads a resource to the server. Example uploading files to the web server.


Response codes:

404: File not found.

307: redirect

403: permission denied.

200:ok all is well.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s