Search found 6 matches

by csgnyc
Tue May 30, 2017 5:54 pm
Forum: Support
Topic: webAPI - set download location
Replies: 0
Views: 5481

webAPI - set download location

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: curl -b /tmp/cookies.txt --compressed -i -H "Content-Type: application/json" -H "Accept: application/json" -X P...
by csgnyc
Tue May 16, 2017 9:52 am
Forum: Support
Topic: Authenticating problems with API
Replies: 4
Views: 2856

Re: Authenticating problems with API

I figured out a fix -- I specified where to store the cookies.txt file in both codes. So, for the first code I used curl -c /tmp/cookies.txt --compressed -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"method": "auth.login", ...
by csgnyc
Mon May 15, 2017 11:25 pm
Forum: Support
Topic: Authenticating problems with API
Replies: 4
Views: 2856

Re: Authenticating problems with API

This is the response: HTTP/1.1 200 OK Transfer-Encoding: chunked Date: Mon, 15 May 2017 23:24:44 GMT Content-Encoding: gzip Content-Type: application/x-json Server: TwistedWeb/16.6.0 {\"id\": 1, \"result\": null, \"error\": {\"message\": \"Not authenticat...
by csgnyc
Mon May 15, 2017 10:01 pm
Forum: Support
Topic: Authenticating problems with API
Replies: 4
Views: 2856

Authenticating problems with API

I have been through these boards, and I think I'm following instructions. If I enter curl -c cookies.txt --compressed -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"method": "auth.login", "params": ["deluge&qu...
by csgnyc
Sat Apr 22, 2017 4:15 pm
Forum: Support
Topic: Every torrent gives me "Error: Invalid argument"
Replies: 0
Views: 5568

Every torrent gives me "Error: Invalid argument"

Just reinstalled Deluge on my Synology after a factory reset. Got most of the settings looking good, and am able to load torrents, but each torrent's tracker status says "Error: invalid argument" after the name of the tracker. If anyone has ideas of how to fix, or even how to diagnose what...
by csgnyc
Mon Aug 22, 2016 10:59 pm
Forum: Support
Topic: Help adding torrents through API
Replies: 0
Views: 2221

Help adding torrents through API

Hi, I'm trying to find documentation on how to add torrents through the API. I was able to find some model script but not sure I'm doing this correctly -- not getting an error message but not adding the torrent either. Here's what I'm doing: curl "http://localhost:8112/deluge/rpc?json={"me...