If I enter
Code: Select all
curl -c cookies.txt --compressed -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"method": "auth.login", "params": ["deluge"], \"id\": 1}' http://192.168.1.10:8112/json
If I then enter
Code: Select all
curl -b cookies.txt --compressed -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"method": "web.connected", "params": [], "id": 1}' http://192.168.1.10:8112/json
My web interface for deluge is at 192.168.1.10:8112, but I note that 192.168.1.10:8112/json is an empty page. I'm on a synology if that makes a difference.