报错显示:http not supported or disabled in libcurl
查看配置
curl -V ---------------------------------------------------------------------------------------- curl 7.53.0 (x86_64-w64-mingw32) libcurl/7.53.0 OpenSSL/1.0.2k zlib/1.2.11 libssh2/1.8.0 nghttp2/1.19.0 librtmp/2.3 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smtp smtps telnet tftp Features: IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz TLS-SRP HTTP2 HTTPS-proxy Metalink ----------------------------------------------------------------------------------------
调试问题
怎么都找不到问题出在何处,最后,,,最后,,,,擦得嘞,是在配置的url前多了个空格。。。。。。
去掉http前面的空格解决了问题。