← Learn
Safe
curl -sSf https://example.com/healthz

cross-platform · bash · Beginner

Requests a health endpoint and fails quietly on an error status. curl is only dangerous when its output reaches an interpreter; here the response is printed, and -f makes a bad status a non-zero exit.

Think you can spot these under time pressure?

Start Training

More Networking