Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
LibCurl 是使用最广泛、最可移植的库之一。
LibCurl is one of the most widely used and most portable.
libghttp 非常轻量级。
我不确定它是否能在 win32 上干净地编译。
libghttp is pretty lightweight.
Im unsure if it will compile cleanly on win32 though.
Windows 附带 WinHttp,它确实支持获取和发布。
Windows comes with WinHttp, which does support GET and POST.
这是一个旧线程,但以防万一这对其他人有帮助:
使用 libCurl http://curl。 haxx.se/libcurl/c/simplepost.html
这是我发现的快速 http post 或 get 的最简单方法
This is an old thread but in case this helps anyone else:
Use libCurl http://curl.haxx.se/libcurl/c/simplepost.html
This is the easiest way I've found of doing a quick http post or get