curl 请求示例
curl -D header.txt -d '{"userinfo":[{"qq":123123,"other":[{"corpid":"w2123","extenalUserid":"ddddd"}]}],"type":"track","event":"eeeee","properties":{"aaaa":"22222"}}' -H 'Content-Type: application/json' https://baidu.com
- -D 获取返回头header信息写入header.txt文件
- -d POST json数据
- -H 请求头信息