#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
# shellcheck source=../lib/common.sh
source "${ROOT}/lib/common.sh"

require_env RAW_API_KEY

curl_post_json "/api-key/verify" "$(printf '%s' "{\"key\":\"${RAW_API_KEY}\"}")" | pretty
