Last active
July 15, 2021 10:09
-
-
Save Raniita/4e43823b4e1dfe5f87828017441253bc to your computer and use it in GitHub Desktop.
46elks Junction 2019 SMS tests
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
import requests | |
API_USERNAME = 'asdasdasdasdasdasdsa' | |
API_PASSWORD = 'asdasdasdasdasdasdada' | |
requests.post( | |
'https://api.46elks.com/a1/sms', | |
auth = (API_USERNAME, API_PASSWORD), | |
data = { | |
'from': 'PythonElk', | |
'to': '+test_num', | |
'message': 'message' | |
} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment