开发者

How can we upload the file using http post?

开发者 https://www.devze.com 2022-12-18 04:11 出处:网络
I am using HTTP API called HttpClient to upload the file using \"post\", but haven\'t been able to find any sample code for the same.

I am using HTTP API called HttpClient to upload the file using "post", but haven't been able to find any sample code for the same.

Any ideas? Any examples/implementations?

Edit:-

I meant HTTP API called H开发者_运维知识库ttpClient - See "Consuming RESTful Services with HttpClient" here


You meant WebClient? Try this sample: Download And Upload A File Using C#

EDIT: Try this post: Upload file with REST

0

精彩评论

暂无评论...
验证码 换一张
取 消