那些年跳过的坑

curl GET请求后面加多个参数

假设请求为:http://www.baidu.com?a=1&b=2
如果你使用

curl http://www.baidu.com?a=1&b=2

那么后台会获取不到b的值
正确的打开方式为:

curl http://www.baidu.com?a=1&b=2

需要对 & 做一个转义

原文地址:https://www.cnblogs.com/lwmp/p/14117271.html