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 |
What is finally block?
What is Collections API?
What are the two main uses of volatile in Java?
Give me an example of array and linked list? Where they can be used?
What class of exceptions are generated by the java run-time system?
What is yield () in java?
where do you place after you did code in java
What is primitive array?
can any body body expalin best definitions & best real time exaples for opps concepts.
Detail discussions on JVM, memory management and garbage collector.
Does sprintf add a null terminator?
What is mean by exception?