Page 1 of 1

webAPI - set download location

Posted: Tue May 30, 2017 5:54 pm
by csgnyc
API works generally for adding downloads, but now I'd like to add download location.

I'm getting "HTTP/1.1 500 Internal Server Error" using this shell script:

Code: Select all

curl -b /tmp/cookies.txt --compressed -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"method": "core.add_torrent_magnet", "params": ["MAGNET URL", "options":{"download_location":"/downloads/complete/"}], "id": 1}' http://192.168.1.9:8112/json
Tried to follow precedent without success. Any idea what's going wrong?