Tuesday, January 20, 2015

What is the HTTP protocol?


HTTP runs on the TCP/IP, TCP/IP makes sure that the file sent from one network is full sent to the other side. Even if the file may be sent in chunks when it is sent.
GET and POST are two http request methods to tell the server what kind of request is made and how the rest of the message is formatted. GET is an http method and its main objective is to ask the server to get a particular request and send it back. The POST method is a more powerful method which is able to get data like the GET method and as well send form data to the server. These two methods are not the only two methods that are used, there are many other methods too but these are the two most commonly used methods.

 Can the GET method send data too?
YES the get method can also send data but you better use POST instead of the get method.
Reasons why a GET method should not be used to send data.

·   (1) A GET method may have a limited amount of characters and so for example a passage cannot be sent using a GET method.
·   (2)The data sent using the GET method is shown in the url so it is exposed to everyone.

What is a TCP port?

A 16-bit number that identifies a specific software program on the server hardware.  Think of the portas a unique identifier. Without a port number the server will not have any way of knowing which application need to be connected.

No comments:

Post a Comment