标签文章:#http状态#

  • curl 取得HTTP返回的状态码

    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......

    Nemo Nemo 2018.01.17 17:27 1380浏览 0回复

    阅读更多