Skip to content

Instantly share code, notes, and snippets.

@Raniita
Last active July 15, 2021 10:09
Show Gist options
  • Save Raniita/4e43823b4e1dfe5f87828017441253bc to your computer and use it in GitHub Desktop.
Save Raniita/4e43823b4e1dfe5f87828017441253bc to your computer and use it in GitHub Desktop.
46elks Junction 2019 SMS tests
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