Closed kenanbirkan closed 7 years ago
Rest api document at link; https://github.com/spender-sandbox/cuckoo-modified/blob/master/docs/book/src/usage/api.rst
must be updated for /tasks/create/file example says ; json_decoder = json.JSONDecoder() task_id = json_decoder.decode(request.text)["task_id"]
but code at link ; https://github.com/spender-sandbox/cuckoo-modified/blob/master/utils/api.py
returns response["task_ids"] = task_ids
feel free to push changes yourself next time ;)
Ok, I've updated :)
Rest api document at link; https://github.com/spender-sandbox/cuckoo-modified/blob/master/docs/book/src/usage/api.rst
must be updated for /tasks/create/file example says ; json_decoder = json.JSONDecoder() task_id = json_decoder.decode(request.text)["task_id"]
but code at link ; https://github.com/spender-sandbox/cuckoo-modified/blob/master/utils/api.py
returns response["task_ids"] = task_ids