1

It seems that webclient supports PUT and POST uploading. Is there any difference?

user496949
  • 83,087
  • 147
  • 309
  • 426
  • See the first answer here: [What are the best/common RESTful url verbs and actions?][1] [1]: http://stackoverflow.com/q/256349/1122029 – Jimmy James Sep 11 '12 at 18:54

1 Answers1

3

Yes, one sends a PUT to the server, one sends a POST. In theory, PUT means "enclosed entity [should] be stored under the supplied Request-URI", and POST means "the entity enclosed in the request [i]s a new subordinate of the resource identified by the Request-URI"

But in practice, it's up to the server what to do.

Matthew Flaschen
  • 278,309
  • 50
  • 514
  • 539