摘要:
使用curl命令发送POST请求并带请求json 本次测试使用测试站点 # https://httpbin.org/ 使用Postman测试 使用curl命令测试 # # curl -X POST -H "accept: application/json" --data '{"test":"test 阅读全文
摘要:
参考: https://www.cnblogs.com/chuanzhang053/p/16355454.html 使用curl命令返回页面内容,在一些检测网页的需求中只需要返回页面状态码来判断页面是否正常 使用以下命令判断百度是否正常,返回状态码为200则代表正常 # curl -o /dev/n 阅读全文