You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I appreciate the availability of this crate. I have encountered an issue while attempting to add a torrent from the local disk. Thank you for your assistance.
let arg = AddTorrentArg{
source: TorrentSource::TorrentFiles { torrents: std::fs::read("test.torrent").unwrap() },
..AddTorrentArg::default()
};
let _res = api.add_torrent(arg).await;
println!("{:?}", _res);
then catch --> Err(HttpError(reqwest::Error { kind: Builder, source: Custom("unsupported value") }))
It appears that the issue lies in the serialization component.
Method::POST => req = req.form(body), -> serde_urlencoded::to_string(form)
The text was updated successfully, but these errors were encountered:
Hello, I appreciate the availability of this crate. I have encountered an issue while attempting to add a torrent from the local disk. Thank you for your assistance.
It appears that the issue lies in the serialization component.
Method::POST => req = req.form(body), -> serde_urlencoded::to_string(form)
The text was updated successfully, but these errors were encountered: