使用curl 命令 发送 get post 请求
curl http://xxxxx/xx
默认是get的请求
发送 post 携带参数
curl http://xxx/xxx -X POST -d "username=sam&password=123456"
使用curl 命令 发送 get post 请求
curl http://xxxxx/xx
默认是get的请求
发送 post 携带参数
curl http://xxx/xxx -X POST -d "username=sam&password=123456"