lablup / raftify

Experimental High level Raft framework
https://docs.rs/raftify/latest/raftify
Apache License 2.0
36 stars 14 forks source link

fix: Correct wrong `GET` http method usage in example code #147

Closed TaskerJang closed 1 month ago

TaskerJang commented 1 month ago

This PR corrects the incorrect usage of the GET method in the example code as described in issue #120. It ensures that methods like leave_joint and campaign do not use the GET method. Additionally, it updates the PUT method to pass values in the request body rather than the path.

Changes made in both Python and Rust code examples.

cla-assistant[bot] commented 1 month ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: jopemachine
:x: JJangcoding


JJangcoding seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

cla-assistant[bot] commented 1 month ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


JJangcoding seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

jopemachine commented 1 month ago

Thanks!