You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
175 B
10 lines
175 B
from flask import Flask
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.route("/api")
|
|
def api():
|
|
return "bonjour de l'api"
|
|
|
|
if __name__ == "__main__":
|
|
app.run(host="0.0.0.0", port=8080)
|
|
|