1

Can any one please explain me what is main difference between PUT Object vs POST Object to upload file.

What are advantages and disadvantages of using each ??

Thanks.

Hiral
  • 195
  • 1
  • 13
  • that should be same as the difference between Http PUT and POST. Essentially these are some REST Api's provided to users for data/object etc storage. I worked on one at Y!. – DarthVader Apr 26 '13 at 20:26
  • 1
    possible duplicate of [PUT vs POST in REST](http://stackoverflow.com/questions/630453/put-vs-post-in-rest) – Rich Turner Apr 26 '13 at 20:57

1 Answers1

0

Use POST if you cannot set the Authorization header -- generally because you are uploading with an HTML form.

Use PUT for everything else.

fejta
  • 3,061
  • 2
  • 17
  • 22