Questions tagged [json-rpc]

JSON-RPC is a standard JSON data-format based (r)emote (p)rocedure (c)all protocol.

See http://json-rpc.org/ for specification and implementations for various languages.

JSON stands for JavaScript Object Notation. It is a text-based lightweight data-interchange format. See http://www.json.org/ for details.

RPC stands for remote procedure call, which is a family of protocols. See the Wikipedia article Remote procedure call for origins, current variations and applications.

673 questions
0
votes
1 answer

Problem with JSON RPC on RPI and calling a method

I got a raspberry pi with a json rpc server running on it. i used this module: https://github.com/bcb/jsonrpcserver Everything is working fine when I only make a request to the following method: @method def ping(): return "pong" But when I…
tijn167
  • 547
  • 2
  • 21
0
votes
1 answer

How to connect with bitcoin rpc through Python?

I'm having some trouble to connect to my local bitcoin node through Python. It seems the node refuses every call made through Python, but when using the bitcoin-cli everything works. My Python script: import simplejson as json import requests with…
George
  • 29
  • 5
0
votes
1 answer

Is there any good JSON-RPC 1.0 compatible client library in java?

I'm working with the Zcash RPC API's. Essentially they are based on JSON-RPC 1.0 specification. I need to make those RPC calls using a java code. I've been searching for a good JSON-RPC 1.0 compatible library but couldn't find one. Has anyone know…
Paras
  • 3,191
  • 6
  • 41
  • 77
0
votes
2 answers

Flutter json_rpc_2 implementation

Did anyone successfully implemented WebSocket using json_rpc_2 package?https://pub.dartlang.org/packages/json_rpc_2 I try to present live data, e.g. a ticker, from this API: https://api.hitbtc.com/
user8239476
0
votes
1 answer

Json-rpc 2.0 - How to extract data

I am trying to extract data from an in-house project(http:\192.168.1.15:8082). It uses json-rpc 2.0. At first, I tried using beautilsoup to retrieve the information since it was being displayed on the screen, but that does not work, all I get is a…
0
votes
0 answers

How to pass variable from json-rpc to python script

I want to be able to pass a variable like I=1199 by json-rpc to addon script in another user. I have this json-rpc and can activate an specific addon in another user: import requests import xbmc import xbmcgui import xbmcplugin import…
M.Saeed
  • 29
  • 1
  • 8
0
votes
1 answer

using correct SSL protocol when using client from node-json-rpc library

I am using this library https://www.npmjs.com/package/node-json-rpc to make client calls to https server exposing RPC apis. However, when I run the code, I get this error Error: SSLv3 methods disabled at new SecureContext (_tls_common.js:50:20) …
kosta
  • 4,302
  • 10
  • 50
  • 104
0
votes
1 answer

how to use json rpc with curl on java

i set the private ethereum on my local computer and run as geth --bootnodes="enode://b115ff8b97f67a6bd8294a4ea277930bf7825e755705e809442885aba85e397313e46528fb662a3828cd4356f600c10599b77822ebd192199b6e5b8cfdb530c4@127.0.0.1:30303" --networkid 15…
TGkim
  • 11
  • 6
0
votes
1 answer

PHP / BTC Handling users xfers

Hi everyone! I'm looking for a minimal PHP / BTC system that allows users to transfer bitcoin into the website, generating a new address for each transfer, and enabling them to withdraw to any address they specify when requested. To be honest, I…
Chris Russo
  • 450
  • 1
  • 7
  • 21
0
votes
0 answers

How to set null value for params when i use gorilla/rpc/json?

I tried to send a request to a RPC interface, but the interface doesn't need params. It means the params field should be "params":[], but when I use json.EncodeClientRequest(method string, args interface{}), the value of params is always…
zhiping chen
  • 93
  • 1
  • 5
0
votes
1 answer

How to unmarshal JSON response array with nested array

I am trying to parse a response. I am new to Go, I cannot understand how can I create a new type struct for the following response. Here is the response I need to parse "result": [["188.68.38.247", "noserver4u.de", ["v1.2", "s50002", "t50001"]],…
user4671628
0
votes
1 answer

Is using IP sockets for RPC functionality for a distributed system a good idea?

I am curious if using an socket daemon in PHP a good idea for building RPC functionality on a distributed system?
mvbl fst
  • 5,213
  • 8
  • 42
  • 59
0
votes
1 answer

Journalctl logs messages in groups?

So on our machines we noticed something odd. Our services log normally, but these messages seem to be grouped into packs of specific sizes. For instance, one command of our service generates only 1 line in the log. Another command generates about 5…
steW
  • 87
  • 10
0
votes
2 answers

Change JSON-RPC RESPONSE

I am using ODOO 11.0 how to return simple JSON object without JSON-RPC additional parameters Here is my odoo controller code: @http.route('/userappoint/webhook_test/',type='json', auth='public',method=['POST'], csrf=False,website=True) def…
0
votes
1 answer

Call JSON-RPC using nodejs

I am trying to call json-rpc call through request module of nodejs. json-rpc call is in following format curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getreceivedbyaddress", "params":…
Kiran Devkar
  • 1
  • 1
  • 1
  • 4