We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d4723b commit 5d6c6ddCopy full SHA for 5d6c6dd
config.sh
@@ -6,6 +6,7 @@ NEXMO_APPLICATION_ID=${NEXMO_APPLICATION_ID:-""}
6
NEXMO_PRIVATE_KEY=${NEXMO_PRIVATE_KEY:-""}
7
8
TO_NUMBER=${TO_NUMBER:-""}
9
+RECIPIENT_NUMBER=${RECIPIENT_NUMBER:-""}
10
FROM_NUMBER=${FROM_NUMBER:-""}
11
NEXMO_NUMBER=${NEXMO_NUMBER:-""}
12
verify/send-verification-code.sh
@@ -1,4 +1,4 @@
1
#!/usr/bin/env bash
2
source "../config.sh"
3
4
-curl -X GET "https://api.nexmo.com/verify/json?&api_key=$NEXMO_API_KEY&api_secret=$NEXMO_API_SECRET&number=$TO_NUMBER&brand=AcmeInc"
+curl -X GET "https://api.nexmo.com/verify/json?&api_key=$NEXMO_API_KEY&api_secret=$NEXMO_API_SECRET&number=$RECIPIENT_NUMBER&brand=AcmeInc"
0 commit comments