Files
cicdTest/server-b/app.py
2020-03-12 11:07:35 +01:00

18 lines
319 B
Python

from flask import Flask
from flask import jsonify
app = Flask(__name__)
@app.route('/')
def doRequest():
data = {
"serverName": "serverB",
"version": "master",
"success": "true"
}
return jsonify(data)
if __name__ == '__main__':
app.run(debug=True, host="0.0.0.0", port=6000)