win wsl 代理端口到 127.0.0.1

1
netsh interface portproxy add v4tov4 listenaddress=* listenport=8071 connectaddress=127.0.0.1 connectport=8071 protocol=tcp

有线网卡无线同时使用

  1. 无线网卡 tip/ip 跃点设为 1
  2. 设置route -p add 172.0.0.0 mask 255.0.0.0 172.16.17.1 //网段 子网掩码 网关

POST

JSON

1
curl -H "Content-Type: application/json" -X POST -d '{"client_id": "471", "client_secret":f913bb5d5ee4878f5c45e17450250d4b}' "http://124.128.55.18:8080/devweb/api/jnswsjkw/jnsxxgzbdgrdfyyqqk/1.0"

form

1
2
3
4
curl  -d "userId=1244469949481615360&userType=user&idNumber=510603199602031510&setupCode=&pageSize=2&pageNum=1"

"http://103.203.218.93:8082/complat/interfaces/material/materiallist.do"
{"totalResult":0,"result":true,"pageSize":20,"rows":[],"currentPage":1}#