Response content type and size
32-response-metadata.yaml
HTTP(S)
What this example does
This example demonstrates response content type and size.
Checks and behavior
- Sends an GET request to https://api.example.com/health.
Adapt example domains, addresses, credentials and thresholds to your environment before use.
YAML configuration
# Copyright (c) 2026 mati peterson. Maintainer: mati peterson <ipsonic@mailbox.org>. Project: https://ipsonic.com/probe/. Disclaimer: Provided AS IS, without warranty of any kind. Use at your own risk; validate checks and configurations before production use.
name: Response content type and size
url: https://api.example.com/health
tests:
response:
min_bytes: 10
max_bytes: 1048576
content_type: application/json