summaryrefslogtreecommitdiff
path: root/src/authorization/test-post.sh
blob: fd3a8d897969caafa27bb40a62b8fc98adbcaed9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# This file is in the public domain.
set -eu
ADDR=`jq -n '{
        full_name: "John Doe",
        street: "Bar street 3",
        city: "Wuppertal",
        postcode: 42289,
        country: "DE",
    }'`

echo "Your recovery code is 1234" | ./anastasis-authorization-post.sh "$ADDR"