what is the difference b/w PUT and POST method to send data
to the server
Answers were Sorted based on User's Feedback
Answer / ambrish
The Basic differences between PUT and POST method is:
Using PUT method to transfer new resources from client to server and store it.
Using POST method to transfer new resources or updating existing resources and store or replace it.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / cool_one368
The Basic Difference between PUT and POST is by using PUT
we have only limited data to be sent to the Server also it
can be shown into Browser URL if you use UserName and
Password by using PUT then the Password and UserName can
also be seen in the URL.
Where as if you will use Post then the whole data can be
Sent to the Browser without being shown.
| Is This Answer Correct ? | 4 Yes | 4 No |
Answer / rahul
PUT replaces the resource at the known url if it already exists, so sending the same request twice has no effect. In other words, calls to PUT are idempotent. The RFC reads like this: The fundamental difference between the POST and PUT requests is reflected in the different meaning of the Request-URI.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nidhi aggarwal
Post submits data to be processed from a page to the
server. The data is included in the body of request. It is
not visible in the browser address bar.
Whereas PUT uploads(binary/text) a representation of the
specified resource. It provides a useful alternative to FTP.
| Is This Answer Correct ? | 3 Yes | 6 No |
Answer / dara
suppose we are using post method.At the time,all (lot of
size)data will goes to server.
we are using get method in the form.At the time,only 2kb
data will be transfered and all the data will appended as a
query string.
| Is This Answer Correct ? | 0 Yes | 10 No |
How do you square a number in java?
What is an Exception ?
What is qualitative variable?
What is Recursion Function?
How do you use wildcards?
Write a java program to count the number of words present in a string?
What is %02d?
What is difference between classpath and path variables in java?
What classes of exceptions, thrown by a throw statement?
How many objects are created for a singleton class
Are there any tools available in java to create reports?
How many types of methods are there in java?