Skip to content

Instantly share code, notes, and snippets.

@gonzafirewall
Created September 28, 2015 00:10
Show Gist options
  • Save gonzafirewall/f69a3a8e31ebeacf56e8 to your computer and use it in GitHub Desktop.
Save gonzafirewall/f69a3a8e31ebeacf56e8 to your computer and use it in GitHub Desktop.
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