Check an HTTP endpoint
check_endpointVerify a service is responding by requesting a URL, comparing the status code to the expected value, and measuring the response time.
Instructions
Request a URL and report whether it returned the expected status code, plus how long it took. Use it to confirm a service is actually answering, not just running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full http or https URL | |
| timeoutMs | No | Give up after this many milliseconds (default 5000) | |
| expectStatus | No | Status code that counts as healthy (default 200) |