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 15:18:34 +02:00
|
|
|
return """Hello im test_app13331, y2ou can update my code by update git code123"""
|
2022-05-26 22:24:24 +02:00
|
|
|
except:
|
|
|
|
return "400", 400
|
|
|
|
|
|
|
|
|
|
|
|
app.run(host='0.0.0.0', port=6960)
|