url: http://127.0.0.1:8112/json
request body:
Code: Select all
{"method":"web.add_torrents","params":[[{"path":"magnet:?xt=urn:btih:e9de6f415a109a7c8e7bc95dd68651e780fa7ef2","options":{"file_priorities":[],"add_paused":false,"compact_allocation":false,"download_location":"C:\Downloads","max_connections":-1,"max_download_speed":-1,"max_upload_slots":-1,"max_upload_speed":-1,"prioritize_first_last_pieces":false}}]],"id":2}
Code: Select all
Traceback (most recent call last):
File "deluge\ui\web\json_api.py", line 292, in render
File "deluge\ui\web\json_api.py", line 256, in _on_json_request
File "deluge\ui\web\json_api.py", line 207, in _handle_request
JSONException: JSON not decodable