George-Miao / qbit

A Rust library for interacting with qBittorrent's Web API
https://docs.rs/qbit-rs
MIT License
32 stars 12 forks source link

Fix incorrect request type #3

Closed Oscariremma closed 10 months ago

Oscariremma commented 11 months ago

The shutdown endpoint is a POST with an empty body and not a GET. Currently you get a 405 error when calling it.

George-Miao commented 10 months ago

LGTM. Thanks for the PR!

Oscariremma commented 10 months ago

@George-Miao would it be possible for you to do a version bumb of the library as well? I am trying to use this functionality in one of my own projects so it would be greatly appreciated!

George-Miao commented 10 months ago

@George-Miao would it be possible for you to do a version bumb of the library as well? I am trying to use this functionality in one of my own projects so it would be greatly appreciated!

Sorry for the late response. New version (v0.3.7) has been pushed and should be available via crates.io.