D=enkisfelhom.hu r() { printf '%-60s -> ' "$1 $3"; c=$(curl -sk -o /tmp/r.b -w '%{http_code}' -H "Host: r-$1.$D" -H 'Content-Type: application/json' -X "$2" ${4:+-d "$4"} "https://127.0.0.1$3"); echo "$c $(grep -q 'sign-up is closed' /tmp/r.b && echo BLOCKED || echo 'not blocked (the app answered)')"; } r vikunja POST /api/v1/user/password/token '{"email":"family@spike.hu"}' r papra POST /api/auth/forget-password '{"email":"family@spike.hu","redirectTo":"/"}' r gitea GET /user/forgot_password r calcom GET /auth/forgot-password r opengist GET /-/login r wishlist GET /login r homebox GET /api/v1/status r vikunja GET /api/v1/shares/nonexistent/auth rm -f /tmp/r.b