Author

Topic: RPC access just with URL? (Read 557 times)

legendary
Activity: 2058
Merit: 1452
February 26, 2014, 08:05:41 PM
#5
not possible because RPC doesn't accept GET requests.
hero member
Activity: 826
Merit: 1000
see my profile
February 26, 2014, 07:38:26 PM
#4
But how to do the same thing only in the address field of my browser?
e.g. something like
Code:
http://localhost:18490/?jsonrpc=1.0&id=urltest¶ms=[]&method=getinfo
or http://localhost:18490/?jsonrpc=1.0&id=urltest¶ms=[]&method=getmininginfo
or http://localhost:18490/?jsonrpc=1.0&id=urltest¶ms=[]&method=getbalance
or http://localhost:18490/?jsonrpc=1.0&id=urltest¶ms=["CTVHuvvdJj61fC1mzFAQ4V1TrYBb8QTpiA","1","enjoy"]&method=sendtoaddress

Possible?  If so, where is my mistake? How to do it?  Anyone?
hero member
Activity: 826
Merit: 1000
see my profile
February 26, 2014, 01:09:46 PM
#3

Yes, thanks. That's exactly where I got my inspiration :-)


But how to do the same thing only in the address field of my browser?

e.g. something like
Code:
http://localhost:18490/?jsonrpc=1.0&id=urltest¶ms=[]&method=getinfo
which at the moment only gives an empty page. What is wrong with that?
I ask because with
Code:
http://localhost:18490
I do get a "parse error", which looks promising :-)

cp1
hero member
Activity: 616
Merit: 500
Stop using branwallets
hero member
Activity: 826
Merit: 1000
see my profile
February 26, 2014, 11:52:39 AM
#1
Can I access a -qt wallet by just sending a well defined URL?

e.g. something like
Code:
http://localhost:18490/?jsonrpc=1.0&id=urltest¶ms=[]&method=getinfo
which at the moment only gives an empty page. What is wrong with that?

I ask because with
Code:
http://localhost:18490
I do get a "parse error", which looks promising :-)


(Replace the portnumber 18490 with any other of any currency of which you are running a wallet, of course)

Jump to: