1

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

1

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

2 Comments

I always see POST for HTTP and PUT for FTP.
POST and PUT are both HTTP methods. Separately, there are PUT and MPUT FTP commands.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.