From 83a58c41f4f81b10cb187b3f8d5c8d17cfa3c31d Mon Sep 17 00:00:00 2001 From: beppe Date: Sun, 1 Mar 2020 16:38:50 +0100 Subject: [PATCH] mmmmmmmmmmmmm --- serverA/app.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/serverA/app.py b/serverA/app.py index fd6f1fc..884cfe7 100644 --- a/serverA/app.py +++ b/serverA/app.py @@ -14,6 +14,11 @@ def doRequest(): def itWorks(): return requests.get(URL).json() +@app.route('/text') +def hope(): + return requests.get(URL).text + + @app.route('/find//') def findServer(name, port): return requests.get("http://"+name+":"+port)