curl
个人笔记
curl -H "Content-Type:application/x-www-form-urlencoded" -d "name=root&password=1234" http://xxxxx/login -v
curl -H "Cookie:okay_session=abcdefafdadfas" -X GET http://xxxxx/director/show\?id=80&type=4
多个请求头,-H追加
curl -X POST http://xxxxxxxx/teacher/findTeacherListByClass -H "Content-Type: application/json" -H "requestid: 0211111111" -d "{\"a\":1,\"b\":null}"