curl demo
curl-XPOST-d"timestamp=1553169897099&phone=13500000000"http://xxx.xx.xxx.xxx:8903/verifiy/send
curl-XPOST--data'{"timestamp":"1553169897099","phone":"13500000000"}'http://xxx.xx.xxx.xxx:8903/verifiy/send
-d/--data
是直接写formdata,所以上面的{"timestamp":...},
其实是body={"timestamp":...},
而不是parameterMap后的phone=13500000000
再如:
-d'abcd'
则body=abcd
-d'a=1&b=2'
则body=a=1&b=2,即jsp解析参数后的parameterMap:a=1,b=2
curl-H'clienttype:ENTERPRISE_SERVICES'-H'Authorization:YnJlcmNqeGo4ZGVwYWR0NjhiOHd0NjBoZngwZmZhN2k='http://106.14.191.81/microservice/users/user/findUserInfoById/155290211279504511
相关推荐
83911535 2020-11-13
曾是土木人 2020-10-31
yegen00 2020-10-21
soralaro 2020-10-11
katanaFlower 2020-09-18
wytzsjzly 2020-08-17
88407710 2020-08-17
ChinaJoeEE 2020-08-16
CyborgLin 2020-08-15
Blueberry 2020-08-15
PinkBean 2020-08-11
katanaFlower 2020-08-03
hunningtu 2020-07-30
阿债的方寸天地 2020-06-28
pingyan 2020-06-25
wytzsjzly 2020-06-25
阳光岛主 2020-06-25
阿债的方寸天地 2020-06-16