#!/bin/bash

set -e

curl -s -k -I https://127.0.0.1:4443/status.json | grep -q 'WWW-Authenticate: Basic realm="Schleuder API Daemon"' || exit 1
