在win10中使用curl
下載地址:https://curl.haxx.se/download.html
1,安裝curl【我按照在了D盤】
2,配置環境變量——curl.exe所在的位置
3,配置Path——%CURL_HOME%
4,運行curl——curl --help
5,API調用
6,這里遇見了坑——curl: (1) Protocol "'https" not supported or disabled in libcurl
解決方法:把文檔中的 '' 引號,改成 "" 雙引號就可以了