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

C-Lightning REST: Enable access to all RPC commands #552

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danielalexiuc
Copy link

The C-Lightning REST project allows access to all additional CLightning RPC commands by default: https://github.com/Ride-The-Lightning/c-lightning-REST#rpc

BTCPayServer-docker currently ships with this option disabled. However many useful RPC commands have not been wrapped by the REST project yet, so it is convenient to enable these by default.

The C-Lightning REST project allows access to all additional CLightning RPC commands by default: https://github.com/Ride-The-Lightning/c-lightning-REST#rpc

BTCPayServer-docker currently ships with this option disabled. However many useful RPC commands have not been wrapped by the REST project yet, so it is convenient to enable these by default.
@NicolasDorier
Copy link
Member

why did you close this?

@danielalexiuc
Copy link
Author

Just doing some more testing on it first, the pull request was a bit early. It seems to work for "no-parameter" rpc calls, but not for calls with parameters.

Will re-open when I have some more information though.

@danielalexiuc danielalexiuc reopened this Nov 4, 2021
@danielalexiuc
Copy link
Author

danielalexiuc commented Nov 4, 2021

Maybe you can help! Actually yeah the problem seems to be that BTCPayServer won't accept parameters in the request body (as JSON), which is what is necessary to use this endpoint... any idea where that can be configured?

Adding them as request parameters doesn't seem to be an option, it's expecting an array or object, and doesn't seem to parse it as a string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants