php curl 总结

2017-11-30 13:18:56来源:cnblogs.com作者:php程序猿的笔记人点击

分享

1 curl post

curl -X POST http://localhost/ -d  '{"data":{"name":"hheh","shortname":"US"}}' -H "Content-Type: application/json" 

curl: (5) Could not resolve proxy: 8089 报错

在命令行输入

export http_proxy="";export https_proxy="";export ftp_proxy="";

转载 https://askubuntu.com/questions/347384/curl-5-couldnt-resolve-proxy-hproxy-iitm-ac-in


微信扫一扫

第七城市微信公众平台