Created
May 7, 2016 03:52
-
-
Save nfarah86/0f3905b1a6140676ea435f799e808306 to your computer and use it in GitHub Desktop.
Emergency Run End Point
This file contains 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
// omitted code | |
@app.route("/emergency_run", methods = ['POST']) | |
def emergency_message(): | |
textMessage("I have an emergency and need help. Please find me here: http://rescue-nfh.herokuapp.com/contact_map_display") | |
return json.dumps({ 'success': True }) | |
// omitted code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment