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

Feature request: allow GET requests in the RPC #11254

Closed
3s3s opened this issue Sep 6, 2017 · 1 comment
Closed

Feature request: allow GET requests in the RPC #11254

3s3s opened this issue Sep 6, 2017 · 1 comment

Comments

@3s3s
Copy link

3s3s commented Sep 6, 2017

I suggest making the GUI part of the wallet as html page. Desctop application (bitcoin-qt) looks unusual for new users who are used to online banking.
For this, it is sufficient to allow GET requests in the RPC module.

@laanwj
Copy link
Member

laanwj commented Sep 7, 2017

No, we will not use HTML in the bitcoin core client. It might look unusual but that is small fries compared with the security issues with interfacing with a browser, or (snicker) integrating one.

Allowing GET requests to post JSON-RPC requests is a violation of the standard use of http methods. GET should never change state. However you can pass -rest option to be able to use a (read-only, stateless) subset of the API through GET.

@laanwj laanwj added the GUI label Sep 7, 2017
@laanwj laanwj closed this as completed Sep 7, 2017
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants