linux 使用 curl调接口
post请求
multipart/form-data
curl http://127.0.0.1:8710/member/api/v1/spammers/list -F nickName= -F page=0 -F size=10

application/json
curl http://127.0.0.1:7080/qams/bg/question/noAuthList -X POST -d '{"pageNo":1,"pageSize":10,"keyword":"","districtId":"22f3c611-b0e7-4f9e-b108-ac0f079b1081","approvedStatus":"1","questionType":"1","startTime":null,"endTime":null}' --header "Content-Type: application/json"

带上token
curl -H "token:xxxxxxxxxxx" http://127.0.0.1:8640/entering/api/admin/entering/typeList?page=0&size=10

浙公网安备 33010602011771号