Created
August 18, 2014 20:11
-
-
Save aaronorosen/ce2a3a932bd0bcfebb89 to your computer and use it in GitHub Desktop.
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 flask import Flask | |
import twilio.twiml | |
app = Flask(__name__) | |
@app.route("/", methods=['GET', 'POST']) | |
def hello_monkey(): | |
"""Respond to incoming requests.""" | |
resp = twilio.twiml.Response() | |
resp.say("Hello Monkey") | |
return str(resp) | |
if __name__ == "__main__": | |
app.run(debug=True, host='0.0.0.0') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment