# http_ping

Check if an HTTP URL is reachable with a single GET request. Returns true if status is 2xx.

```rhai
http_ping(url: &str) -> bool
```

## Examples

```rhai
if http_ping("https://api.example.com/health")? {
    print("Service is healthy");
}
```

```rhai
let url = "https://myapp.local:3000";
if !http_ping(url)? {
    throw "Application not responding";
}
```
