Created
September 28, 2015 00:10
-
-
Save gonzafirewall/f69a3a8e31ebeacf56e8 to your computer and use it in GitHub Desktop.
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, Response | |
app = Flask(__name__) | |
@app.route("/", methods=["POST"]) | |
def index(): | |
print request.form | |
return Response("ok") | |
if __name__ == "__main__": | |
app.run(host="0.0.0.0", port=8090, debug=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment