Authorization: Bearer ********************
{
"config": {
"id": "random id string",
"name": "MyDownloader",
"type": "qbittorrent",
"endpoint": "http://localhost:58081",
"username": "admin",
"password": "adminadmin",
"basicAuth": {
"user": "",
"pass": ""
},
"httpVersion": "HTTP_1_1",
"incrementBan": false,
"verifySsl": true,
"ignorePrivate": false
}
}
curl --location --request PATCH 'http://127.0.0.1:9897/api/downloaders/' \
--header 'Content-Type: application/json' \
--data-raw '{
"config": {
"id": "random id string",
"name": "MyDownloader",
"type": "qbittorrent",
"endpoint": "http://localhost:58081",
"username": "admin",
"password": "adminadmin",
"basicAuth": {
"user": "",
"pass": ""
},
"httpVersion": "HTTP_1_1",
"incrementBan": false,
"verifySsl": true,
"ignorePrivate": false
}
}'
{
"message": "Successfully to test the downloader",
"test": true
}