【问题标题】:How can we upload the file using http post?我们如何使用http post上传文件?
【发布时间】:2010-01-21 12:08:56
【问题描述】:

我正在使用名为 HttpClient 的 HTTP API 通过“post”上传文件,但找不到任何相同的示例代码。

有什么想法吗?任何示例/实现?

编辑:-

我的意思是称为 HttpClient 的 HTTP API - 请参阅“使用 HttpClient 使用 RESTful 服务”here

【问题讨论】:

    标签: post httpclient


    【解决方案1】:

    你是说WebClient?试试这个示例:Download And Upload A File Using C#

    编辑:试试这个帖子:Upload file with REST

    【讨论】:

      猜你喜欢
      • 2011-07-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-09
      • 2015-05-16
      • 2011-04-17
      • 1970-01-01
      相关资源
      最近更新 更多