Last active
April 24, 2016 08:38
-
-
Save mrtopf/e8604b71ac9e54370628eafa45f9b160 to your computer and use it in GitHub Desktop.
Test-Script für den Messenger-Bot-Server
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
from flask import Flask | |
from flask import request | |
app = Flask(__name__) | |
@app.route('/testbot', methods=["GET"]) | |
def confirm(): | |
return 'Hello World!' | |
if __name__ == '__main__': | |
app.debug = True | |
app.run(port = 8888) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment