We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40e2e40 commit d338de8Copy full SHA for d338de8
1 file changed
fri/test.py
@@ -1,5 +1,6 @@
1
import requests
2
import os
3
+import webbrowser
4
5
# function to test upload() method.
6
def upload():
@@ -36,9 +37,12 @@ def execute():
36
37
38
return response.text
39
- # ********
40
- # To Download call the url .../download/test?fetch=<filename>&apikey=xyz
+# or
41
+def download():
42
+ url = "http://127.0.0.1:5000/download/test?fetch=f1.txt&apikey=xyz"
43
+ webbrowser.open(url)
44
45
upload()
46
execute()
47
+download()
48
0 commit comments