Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdcf965 commit da60f33Copy full SHA for da60f33
run.py
@@ -0,0 +1,13 @@
1
+from flask import Flask, request, redirect
2
+import twilio.twiml
3
+
4
+app = Flask(__name__)
5
6
+@app.route("/", methods=['GET', 'POST'])
7
+def trying():
8
+ resp = twilio.twiml.Response()
9
+ resp.sms("I am responding.")
10
+ return str(resp)
11
12
+if __name__ == "__main__":
13
+ app.run(debug=True)
send_sms.py
@@ -0,0 +1,8 @@
+from twilio.rest import TwilioRestClient
+account_sid = "AC111c46ac0792be29fe1cd3afc0b9ced4"
+auth_token = "6eeb51495e12c16c3b44bea2dae1335a"
+client = TwilioRestClient(account_sid, auth_token)
+message = client.sms.messages.create(from_="+18326034575",
+ body="Does this work!" )
0 commit comments