我有一个网络服务 http://localhost/test/testweb
http://localhost/test/testweb
我想写一个脚本来检查webservice是否与卷曲有关
如果给出了curl参数,则返回200 OKok true false,以便我可以使用它是linux脚本中的if-else块
200 OK
linux curl
curl ×1
linux ×1