import json
from flask import Flask, request, jsonify
app = Flask(__name__)


@app.route("/")
def hello():
    return "Hello World!"

@app.route("/paid", methods=['POST'])
def paid():
    print(json.dumps(request.form))
    print(json.dumps(request))
    return jsonify(request)


if __name__ == "__main__":
    app.run()

import json
from flask import Flask, request, jsonify
app = Flask(__name__)


@app.route("/")
def hello():
    return "Hello World!"

@app.route("/paid", methods=['POST'])
def paid():
    print(json.dumps(request.form))
    print(request)
    return jsonify(request)


if __name__ == "__main__":
    app.run()

print request