【问题标题】:libcurl file post in c++, usable examplec++ 中的 libcurl 文件发布,可用示例 【发布时间】:2014-03-07 22:30:39 【问题描述】: 有没有使用 libcurl 使用 https 发布文件的示例? 我找到了this example,但我认为它不是在做 https POST。 【问题讨论】: 标签: c++ c post https libcurl 【解决方案1】: “发布文件”不是很具体,但如果您谈论的是多部分表单发布,那么这个示例可能就是您想要的: http://curl.haxx.se/libcurl/c/multi-post.html 【讨论】: 【解决方案2】: 查看本教程: http://curl.haxx.se/libcurl/c/http-post.html 你的例子是关于文件上传 【讨论】: