I compiled qbittorrent-nox from git (4.5.0beta1-git+698284f00). It seems to be working fine but I'm running into a problem when trying to use the web api to delete a torrent and its' files. Using the api via curl I login, get a cookie, then am able to get a torrent list. I parse out the hash to the torrent I want to delete but when I send the POST I get "HTTP/1.1 400 Bad Request". I'm executing:
Code: Select all
curl -v -i -X POST -H "Referer: http://192.168.1.10:9882" --cookie "COOKIE_HERE" "http://192.168.1.10:9882/api/v2/torrents/delete?hashes=HASH_HERE&deleteFiles=true"
Thanks in advance for any help!