Skip to content

Instantly share code, notes, and snippets.


parzibyte/ Secret

Created Nov 10, 2020
What would you like to do?
from flask import Flask, jsonify
app = Flask(__name__)
def inicio():
nombre = "Luis"
return jsonify(nombre)
def lista():
nombres = ["Luis", "María José", "Maggie", "Panqué"]
return jsonify(nombres)
if __name__ == "__main__":'', port=8000, debug=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment