Skip to content

Instantly share code, notes, and snippets.

@aaronorosen
Created August 18, 2014 20:11
Show Gist options
  • Save aaronorosen/ce2a3a932bd0bcfebb89 to your computer and use it in GitHub Desktop.
Save aaronorosen/ce2a3a932bd0bcfebb89 to your computer and use it in GitHub Desktop.
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