user496949
user496949

Reputation: 86185

webclient upload file methods

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

Upvotes: 1

Views: 1569

Answers (1)

Matthew Flaschen
Matthew Flaschen

Reputation: 285077

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.

Upvotes: 3

Related Questions