diff options
author | Ferris Tseng <ferristseng@fastmail.fm> | 2021-02-22 22:56:54 -0500 |
---|---|---|
committer | Ferris Tseng <ferristseng@fastmail.fm> | 2021-02-22 22:56:54 -0500 |
commit | b2fdb66cf747f2634247c65a5d1a6d364441d91d (patch) | |
tree | 296d777c79ac0328c6a9fbe830a2d8d7fe058281 /ipfs-api-prelude/src/request | |
parent | 93e8c2e2ad4a3c755a707d268ede8e661c45c68d (diff) |
POST instead of GET
Diffstat (limited to 'ipfs-api-prelude/src/request')
-rw-r--r-- | ipfs-api-prelude/src/request/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipfs-api-prelude/src/request/mod.rs b/ipfs-api-prelude/src/request/mod.rs index 3a17539..95d47d7 100644 --- a/ipfs-api-prelude/src/request/mod.rs +++ b/ipfs-api-prelude/src/request/mod.rs @@ -112,7 +112,7 @@ pub trait ApiRequest: Serialize { /// Method used to make the request. /// - const METHOD: &'static http::Method = &http::Method::GET; + const METHOD: http::Method = http::Method::POST; /// Creates the absolute URL for an API resource given the base path /// of the service. |