Difference between http Get and post request:-
Conventionaly get
request is used for requesting static contents and post request is used for
requesting dynamic contents.
Technical Dofference:-
11. In case of get request,
request data is sent as part of header. Size of http packet header is fixed
hence only limited amount of data can be send as part of get request. In case
of post request, request data is sent as part of body. Size of http packet body
can be unlimited and unlimited amount of data can be send as part of post
request.
22.
In case of get request,
request data is displayed in the address bar of browser. Where as Incase of
post request it is not displayed in the address bar.
33.
In case of get request,
request data is transmited over the network has submited user. Where as In case
of post request, request data is first incripted using the 32 bit data
incription and then transmited the data on network.
44.
Get request is
idempotent where as post is not.






No comments:
Post a Comment