commit e63e697fc40a89306e1e9cdca228f15402dec2b2 parent 5bb10ddc05b74d6b2a7cfc7c210169130f9a3c43 Author: Henrique Chan Carvalho Machado <henriqueccmachado@tecnico.ulisboa.pt> Date: Sun, 26 Oct 2025 22:29:01 +0100 swiyu-verifier api_requests: changed output qr code file name Diffstat:
| M | swiyu-verifier/api_requests/post_management_api_verifications.sh | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/swiyu-verifier/api_requests/post_management_api_verifications.sh b/swiyu-verifier/api_requests/post_management_api_verifications.sh @@ -14,6 +14,8 @@ curl -X POST http://localhost:8080/management/api/verifications \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d @"$1" \ - | jq -r '.verification_url' | tee /dev/tty | xargs qrencode -o swiyu.png + | jq -r '.verification_url' | tee /dev/tty | xargs qrencode -o qr_code.png + +# open .png with default image viewer app +open qr_code.png -open swiyu.png