16 lines
340 B
Python
16 lines
340 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 te33st3_app, y2o2u1 can upd2ate4 my code by update git code1231"""
|
|
except:
|
|
return "400", 400
|
|
|
|
|
|
app.run(host='0.0.0.0', port=6960)
|