mmmmmmmmmmmmm

This commit is contained in:
2020-03-01 16:38:50 +01:00
parent 24d45cd7d1
commit 83a58c41f4

View File

@@ -14,6 +14,11 @@ def doRequest():
def itWorks(): def itWorks():
return requests.get(URL).json() return requests.get(URL).json()
@app.route('/text')
def hope():
return requests.get(URL).text
@app.route('/find/<name>/<port>') @app.route('/find/<name>/<port>')
def findServer(name, port): def findServer(name, port):
return requests.get("http://"+name+":"+port) return requests.get("http://"+name+":"+port)