File tree Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,12 @@ FILE_CAPTION=${FILE_CAPTION:-""}
3333AUDIO_URL=${AUDIO_URL:- " " }
3434VIDEO_URL=${VIDEO_URL:- " " }
3535
36+ # Messages Sandbox testing
37+ MESSAGES_SANDBOX_URL=${MESSAGES_SANDBOX_URL:- " https://messages-sandbox.nexmo.com/v0.1/messages" }
38+ FB_SANDBOX_ID=${FB_SANDBOX_ID:- " 107083064136738" }
39+ VIBER_SANDBOX_ID=${VIBER_SANDBOX_ID:- " 16273" }
40+ WHATSAPP_SANDBOX_NUMBER=${WHATSAPP_SANDBOX_NUMBER:- " 14157386170" }
41+
3642ACCOUNT_ID=${ACCOUNT_ID:- " " } # For APIs that allow you to access the resources of a sub account
3743
3844# Account API
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ source " ../../../config.sh"
4+
15curl -X POST $MESSAGES_SANDBOX_URL \
26 -u $NEXMO_API_KEY :$NEXMO_API_SECRET \
37 -H ' Content-Type: application/json' \
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ source " ../../../config.sh"
4+
15curl -X POST $MESSAGES_SANDBOX_URL \
26 -u $NEXMO_API_KEY :$NEXMO_API_SECRET \
37 -H ' Content-Type: application/json' \
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ source " ../../../config.sh"
4+
15curl -X POST $MESSAGES_SANDBOX_URL \
26 -u $NEXMO_API_KEY :$NEXMO_API_SECRET \
37 -H ' Content-Type: application/json' \
You can’t perform that action at this time.
0 commit comments