16 lines
347 B
Python
16 lines
347 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_app1345432331, y2ou1 can upd2ate my code by update git code123"""
|
|
except:
|
|
return "400", 400
|
|
|
|
|
|
app.run(host='0.0.0.0', port=6960)
|