Difference between GET() and POST()?
>> Wednesday, June 1, 2011
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.
4.)Due to lack of body part get() method doesn't provide security,where post() method will provide security.
5.)Mainly get() can be used to download data for server, post() can be used to upload data on server.
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.
4.)Due to lack of body part get() method doesn't provide security,where post() method will provide security.
5.)Mainly get() can be used to download data for server, post() can be used to upload data on server.
0 comments:
Post a Comment