2
A
回答
6
您可以結帳libcurl。這裏有一些examples。它可以像從(取自文檔)一樣簡單:
#include <stdio.h>
#include <curl/curl.h>
int main(void)
{
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "curl.haxx.se");
res = curl_easy_perform(curl);
/* always cleanup */
curl_easy_cleanup(curl);
}
return 0;
}
相關問題
- 1. 在C++中獲取HTTP請求
- 2. 獲取Objective-C HTTP請求iOS 5
- 3. Http獲取請求中止以前的獲取請求
- 4. 在Visual Basic中的HTTP獲取請求
- 5. Http在Android 2.3.3中獲取請求
- 6. Android - Http獲取請求
- 7. HTTP請求獲取幫助?
- 8. Http獲取請求問題
- 9. 用Rapture獲取請求Http
- 10. 從IE獲取HTTP請求
- 11. 獲取http代碼請求
- 12. Android Async Http獲取請求
- 13. 跨域http獲取請求
- 14. 獲取的urllib2 http請求
- 15. Rails http獲取請求
- 16. Angular 2從http獲取請求的對象獲取請求
- 17. C#HTTP請求
- 18. C++ HTTP請求
- 19. 在asp.net中獲取傳入http請求C#
- 20. 無法從http請求中獲取JSON
- 21. 從HTTP請求中獲取JSON對象
- 22. 從$ http請求中獲取Json
- 23. 獲取Angular JS中HTTP請求的值
- 24. jQuery在HTTP URL上獲取請求
- 25. http在Go中獲取請求(獲取幾行)
- 26. http獲取請求與c中的https請求有什麼不同?
- 27. 在C中獲取SOAP請求#
- 28. 如何在C中獲取請求#
- 29. 從Scrapy中的請求對象獲取HTTP請求消息
- 30. 從Java中的HTTP請求獲取表單請求
在問題中使用正確的標記。否則,您可能會錯過許多答案。 – taskinoor 2010-08-29 07:52:10