Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change query HTTP endpoint from GET to POST #1384

Closed
e-ivkov opened this issue Aug 30, 2021 · 0 comments · Fixed by #1385
Closed

Change query HTTP endpoint from GET to POST #1384

e-ivkov opened this issue Aug 30, 2021 · 0 comments · Fixed by #1385
Assignees
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST

Comments

@e-ivkov
Copy link
Contributor

e-ivkov commented Aug 30, 2021

The change is necessary due to the following:

  1. Many libraries (iOS/Swift standard one in particular) do not allow to submit body in GET requests
  2. It is a popular opinion that submitting body in the GET request is a bad practice - leads to libraries not supporting this.

We need to send body still as we send big SCALE encoded query payloads.

@e-ivkov e-ivkov added the iroha2-dev The re-implementation of a BFT hyperledger in RUST label Aug 30, 2021
@e-ivkov e-ivkov added this to the i2 Preview Release 1 milestone Aug 30, 2021
@e-ivkov e-ivkov self-assigned this Aug 30, 2021
@e-ivkov e-ivkov linked a pull request Aug 30, 2021 that will close this issue
@e-ivkov e-ivkov closed this as completed Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant