test_app1/app.py
2022-05-27 18:21:54 +02:00

16 lines
314 B
Python

from flask import Flask
from flask import request
import json
import flask
app = Flask(__name__)
@app.route('/test_app1', methods=['POST', 'GET'])
def route1():
try:
return """This is automatically updating application 123"""
except:
return "400", 400
app.run(host='0.0.0.0', port=6960)