1.curl发送get请求:
curl -X GET -H "Content-Type: application/json" -d '{}' 192.168.111.128:8080/zhucan/street
2.curl发送POST请求:
curl -X POST -H "Content-Type: application/json" -d '{"id": 18}' 192.168.111.128:8080/zhucan/detail
1.curl发送get请求:
curl -X GET -H "Content-Type: application/json" -d '{}' 192.168.111.128:8080/zhucan/street
2.curl发送POST请求:
curl -X POST -H "Content-Type: application/json" -d '{"id": 18}' 192.168.111.128:8080/zhucan/detail