Explaination of each methods in Http Protocol?
>> Wednesday, June 1, 2011
Difference Between Get() and Head():
Get() can be used to download the data from the requested resource,where as Head() can be used to get the data from the requested resources as well as meta data of the requested resource.That means Head() is using get() internally.
Difference Between Post() and put():
Both these can be used to upload data in server,if we use post() to upload data on server it is not required to specify location.If we use put() to upload data on server it is required to specify location on server.
Difference Between Get() and Post()
1.)Get() method is default method ,where as post() is not default method.
2.)Get() method had only header part,it doesn't had body part, where as post() had both header part and as well as body part.
3.)Due to lack of body part in get() method it is unable to store the client specified i/p data in header part, because header part having limitations upto 256 characters .In post() due to availability of body part ,it will store large n.o i./p provided by the client,because body part doesn't have limitation of memory.
Option(): This method can be used to known that how many methods are supported by our sever machine.Some servers may support some methods and some other may not.
Trace():This method can be used to check the status of our server,whether it works like echo server.
Delete(): This method can be used to delete data from server,but it is not supported by all server machines.
Get() can be used to download the data from the requested resource,where as Head() can be used to get the data from the requested resources as well as meta data of the requested resource.That means Head() is using get() internally.
Difference Between Post() and put():
Both these can be used to upload data in server,if we use post() to upload data on server it is not required to specify location.If we use put() to upload data on server it is required to specify location on server.
Difference Between Get() and Post()
1.)Get() method is default method ,where as post() is not default method.
2.)Get() method had only header part,it doesn't had body part, where as post() had both header part and as well as body part.
3.)Due to lack of body part in get() method it is unable to store the client specified i/p data in header part, because header part having limitations upto 256 characters .In post() due to availability of body part ,it will store large n.o i./p provided by the client,because body part doesn't have limitation of memory.
Option(): This method can be used to known that how many methods are supported by our sever machine.Some servers may support some methods and some other may not.
Trace():This method can be used to check the status of our server,whether it works like echo server.
Delete(): This method can be used to delete data from server,but it is not supported by all server machines.
0 comments:
Post a Comment