Direct HTTP backend
30-custom-resolve-http.yaml
HTTP(S)
What this example does
This example demonstrates direct http backend.
Checks and behavior
- Sends an GET request to http://api.example.invalid/health.
- Checks allowed/denied HTTP status codes.
Adapt example domains, addresses, credentials and thresholds to your environment before use.
YAML configuration
name: Direct HTTP backend
url: http://api.example.invalid/health
connection:
resolve:
api.example.invalid: 10.20.30.40
tests:
status:
allow: [200]