summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerris Tseng <ferristseng@fastmail.fm>2021-02-22 22:56:54 -0500
committerFerris Tseng <ferristseng@fastmail.fm>2021-02-22 22:56:54 -0500
commitb2fdb66cf747f2634247c65a5d1a6d364441d91d (patch)
tree296d777c79ac0328c6a9fbe830a2d8d7fe058281
parent93e8c2e2ad4a3c755a707d268ede8e661c45c68d (diff)
POST instead of GET
-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.