get_management_api_verifications.sh (463B)
1 #!/bin/bash 2 # sends GET request to the management/api/verifications API endpoint. 3 # 4 # arguments: 5 # - verificationId of request. generated by posting the same endpoint. 6 # 7 if [ $# -eq 0 ]; then 8 echo "Error: No verificationId provided" 9 echo "Usage: $0 verificationId" 10 echo "Example verificationId: 20f3ff53-2c2a-4c24-a625-199788cddc74" 11 exit 1 12 fi 13 14 curl -X GET "http://localhost:8080/management/api/verifications/$1" \ 15 -H "Accept: application/json" | jq 16