mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
12 lines
313 B
Bash
12 lines
313 B
Bash
|
#!/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
|