Files
cicdTest/serverA/__init__.py
2020-02-18 12:55:03 +01:00

16 lines
232 B
Python

from flask import Flask
import requests
app = Flask(__name__)
URL = "http://service:5000"
@app.route('/')
def doRequest():
return requests.get(URL).json()
if __name__ == '__main__':
app.run(debug=True, host="0.0.0.0")