webAPI - set download location

General support for problems installing or using Deluge
csgnyc
New User
New User
Posts: 6
Joined: Mon Aug 22, 2016 10:54 pm
OS or Distro: Synology

webAPI - set download location

Postby csgnyc » Tue May 30, 2017 5:54 pm

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?

Return to “Support”

Who is online

Users browsing this forum: Bing [Bot] and 13 guests