curl --header "Content-type:application/json" -d {} http://localhost:8080/method
--header 请求头我设置了json格式
-d {} 请求方式post 后面跟着参数我的参数类型是json格式所以是{}
GET 直接加url
curl --header "Content-type:application/json" -d {} http://localhost:8080/method
--header 请求头我设置了json格式
-d {} 请求方式post 后面跟着参数我的参数类型是json格式所以是{}
GET 直接加url