// 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

HTTPS POST with Basic authentication

26-https-post-basic-full.yaml

HTTP(S)

What this example does

This example demonstrates https post with basic authentication.

Checks and behavior

  • Sends an POST request to https://api.example.invalid/v1/check.
  • Checks allowed/denied HTTP status codes.
  • Looks for expected response content and/or rejects known error markers.
  • TLS settings cover certificate trust, certificate expiry.

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

YAML configuration

Download original YAML

# 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: HTTPS POST with Basic authentication
url: https://api.example.invalid/v1/check
request:
  method: POST
  json:
    probe: integration
auth:
  type: basic
  username_env: HTTPTEST_USER
  password_env: HTTPTEST_PASSWORD
timeouts:
  connect: 3
  response: 10
tls:
  verify: true
  min_valid_days: 7
tests:
  status:
    allow: [200]
  body:
    not_contains: [unauthorized]