Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想要做的是在使用服务之前,检查服务器是否启动。因为我必须根据那个反应做出不同的事情。
如果我创建一个返回 1XX 代码(例如 100 Continue)然后使用服务的 GET 可以吗?解决这个问题的常用方法是什么?