captcha_aggregator/new_captcha_user.sh

4 lines
202 B
Bash
Executable File

#!/usr/bin/env bash
curl -X POST https://captcha.foxarmy.org/api/user/register -H 'Content-Type: application/json' -H "Authorization: Bearer $1" --data-raw "{\"username\":\"$2\", \"password\":\"$3\"}"