POST /v1/rpc not working
polespinasa opened this issue · comments
Hi,
I don't know if I'm doing something wrong with the petition, but I'm getting an error when I try to make a POST petition to /v1/rpc.
Please also see the same command with verbose for more details:
I know I can do the same petition "getInfo" by using GET petition on "/v1/getinfo". I need to execute some specific RPC commands to my node and I'm trying with this one just for testing.
The macaroon is well configured as other petitions as "/v1/getinfo" are working. It's just the /rpc that it's not.
Thanks in advance for your help,
Pol
@polespinasa Have you set "RPCCOMMANDS": ["*"]
in your cl-rest-config.json?
@polespinasa Have you set
"RPCCOMMANDS": ["*"]
in your cl-rest-config.json?
Hi @ShahanaFarooqui I have found another way to do what I need without this REST query.
Anyway many thanks for your swift answer.