// IPSonic MONITORING TOOLKIT / DOCUMENTATION
ipsonic-probe rainbow unicorn

ipsonic-probe ✦

YAML-driven infrastructure validation. Platform-agnostic checks. Zero cloud dependencies.

DNSTCPHTTP / TLSYAML CONFIGCLI FIRSTKISSOFFLINE READY

Part of the ipsonic project ↗ Visit the main website

Bearer token literal (demo only)

19-http-bearer-literal.yaml

HTTP(S)

What this example does

This example demonstrates bearer token literal (demo only).

Checks and behavior

  • Sends an GET request to http://127.0.0.1:8080/private.
  • Checks allowed/denied HTTP status codes.

Adapt example domains, addresses, credentials and thresholds to your environment before use.

YAML configuration

Download original YAML

name: Bearer token literal (demo only)
url: http://127.0.0.1:8080/private
request:
  method: GET
auth:
  type: bearer
  token: replace-with-demo-token
tests:
  status:
    allow: [200]