summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipfs-api-prelude/src/request/mod.rs2
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.