kanidm/scripts/otel/multi_curl.sh
James Hodgkinson 60e5935faa
Moving daemon tracing to OpenTelemetry (#2292)
* sally forth into the great otel unknown
* make the build env identification slightly more durable
* docs updates
* wasm recompile
2023-11-09 05:15:12 +00:00

12 lines
313 B
Bash
Executable file

#!/bin/bash
# This allows testing a bunch of endpoints in a really dumb way
COMMAND="curl -ks"
# 404
$COMMAND https://localhost:8443/asdfasfasfsadf > /dev/null 2>&1
# auth fail
$COMMAND --json '{"hello" : "world" }' https://localhost:8443/v1/auth > /dev/null 2>&1
# good
$COMMAND https://localhost:8443/status