16 lines
331 B
Python
16 lines
331 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 """Hello im test_app111, you can update my code by update git code"""
|
|
except:
|
|
return "400", 400
|
|
|
|
|
|
app.run(host='0.0.0.0', port=6960)
|