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 |
Why java is considered as platform independent?
what is the significance of listiterator in java?
How do you reverse a string in java without using string buffer?
What is variable explain?
How to call one constructor from the other constructor ?
What are the important features of Java 8 release?
I declared main() method as private. But it still running and displaying the output. Please Answer it . Code Snippet as Below: import java.io.*; class over { private static void main(String[] args) { int high = Integer.MAX_VALUE; int overflow = high + 1; int low = Integer.MIN_VALUE; int underflow = low - 1; System.out.println(high + "\n" +overflow +"\n"+ low +"\n"+underflow); //System.out.println(overflow); //System.out.println(low); //System.out.println(underflow); } }
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an <applet> tag?. code,height & width. 26. What does 'CODEBASE' in an applet tag specify?. Files absolute path.
What is a function in java?
whats the difference between == and .equal ?
What is the use of ?this??
What does I ++ mean?