Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import time
import simplejson
from pprint import pprint
from flask import Flask, jsonify, request
app = Flask(__name__)
@app.route("/", methods=["POST"])
def index():
data = simplejson.loads(request.form['data'])
print data
return jsonify(integrationUrl="" % data['id'])
if __name__ == '__main__':, host="", port=8001)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment