Created
January 27, 2020 08:58
-
-
Save Porrapat/5fd2734de0a78b03c321e5940ba7b2d4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AUTH_KEY= | |
APP_ID= | |
MESSAGE_TEMPLATE_ID= | |
SENDER_NAME= | |
MOBILE= | |
curl -X POST -H "Content-Type: application/json" \ | |
-H "Authorization: $AUTH_KEY" \ | |
-d "{\"applicationId\":\"$APP_ID\",\"messageId\":\"$MESSAGE_TEMPLATE_ID\",\"from\":\"$SENDER_NAME\",\"to\":\"$MOBILE\"}" \ | |
"https://api2.ants.co.th/2fa/1/pin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment