Files
cicdTest/serverB/__init__.py
2020-02-18 09:57:39 +01:00

17 lines
279 B
Python

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