mirror of
https://github.com/bvanroll/cicdTest.git
synced 2025-08-29 20:12:43 +00:00
mmmmmmmmmmmmm
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user