curl调用接口报错 Protocol http not supported or disabled in libcurl

用curl 调用外部接口 报错Protocol http not supported or disabled in libcurl

怎么调试也找不到问题,最后查看代码发现竟然是url配置中http前多了一个空格。

猜你喜欢

转载自blog.csdn.net/weixin_38230961/article/details/81671019