barebones crawl_server microservice

This commit is contained in:
Simon
2018-06-11 19:00:43 -04:00
parent 8421cc0885
commit d849227798
14 changed files with 264 additions and 220 deletions

14
debug_put.py Normal file
View File

@@ -0,0 +1,14 @@
import requests
import json
payload = json.dumps({
"url": "http://124.158.108.137/ebooks/",
"priority": 2,
"callback_type": "",
"callback_args": "{}"
})
r = requests.post("http://localhost:5000/task/put",
headers={"Content-Type": "application/json"},
data=payload)