shellcurl取得HTTP返回的状态码只需要添加-w%{http_code}参数即可:$curl-XPOST--header'Content-Type:application/json'--header'Accept:application/json'-w%{http_code}'http://localhost:8089/user/login?mobile=18600000000&p......
1,538 0 2018-01-17 17:27