test_app1/app.py

16 lines
354 B
Python
Raw Normal View History

2022-05-26 22:24:24 +02:00
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:
2022-05-27 16:40:40 +02:00
return """Hello33 im 3te334st3_32a333pp, y2o352u1 can2 upd2ate4 my 4code by update git code12231"""
2022-05-26 22:24:24 +02:00
except:
return "400", 400
app.run(host='0.0.0.0', port=6960)