You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
320 B
Python

#!/usr/bin/python
from flask import Flask, request, Markup
app = Flask("prueba")
@app.route("/")
def home():
args = ("<pre>")
for i in request.args:
a = request.args[i]
args += u"{} [{}]: {}\n".format(i, Markup.escape(str(type(a))), a)
args += "</pre>"
return args
app.run(debug=True)