Created
November 24, 2015 19:40
-
-
Save RobSpectre/6430769fc6f403cfa9f1 to your computer and use it in GitHub Desktop.
Test new Twilio certificate
This file contains hidden or 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
from twilio.rest import TwilioRestClient | |
ACCOUNT_SID = "ACxxxxxxxx" | |
AUTH_TOKEN = "yyyyyyyyyyy" | |
TWILIO_NUMBER = "+15556667777" | |
NUMBER_TO_TEXT = "+12223334444" | |
client = TwilioRestClient(ACCOUNT_SID, AUTH_TOKEN, base="https://api.twilio.com:8443") | |
client.messages.create(from_=TWILIO_NUMBER, to=NUMBER_TO_TEXT, body="Your system is ready for the upcoming change to the Twilio API's SSL certificate. No further action is needed.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment