yuripeyamashita
commited on
Commit
•
0944f4f
1
Parent(s):
27407e5
Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,7 @@ def server():
|
|
17 |
URL = request.json.get('URL')
|
18 |
postData = request.json.get('postData')
|
19 |
reqList[token] = { URL: URL, postData: postData }
|
|
|
20 |
return { success: True }, 200
|
21 |
|
22 |
|
@@ -26,6 +27,7 @@ def client():
|
|
26 |
data = reqList.get(token)
|
27 |
if not data:
|
28 |
return {}, 400
|
|
|
29 |
URL = data.get('URL')
|
30 |
postData = data.get('postData')
|
31 |
|
|
|
17 |
URL = request.json.get('URL')
|
18 |
postData = request.json.get('postData')
|
19 |
reqList[token] = { URL: URL, postData: postData }
|
20 |
+
print(reqList[token])
|
21 |
return { success: True }, 200
|
22 |
|
23 |
|
|
|
27 |
data = reqList.get(token)
|
28 |
if not data:
|
29 |
return {}, 400
|
30 |
+
print(data)
|
31 |
URL = data.get('URL')
|
32 |
postData = data.get('postData')
|
33 |
|