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

Testing Server for JSON-RPC

Is there a simple online testing server (similar to Postman-echo.com) that I can use for JSON-RPC commands from Postman or for any other simple scripts that I might be writing? On GitHub, I see lots of public APIs on GitHub (many that don't even…
Roger
  • 365
  • 2
  • 18
0
votes
1 answer

After converting from C# to vb.net it shows an error

I am trying to convert C# code to Visual Basic. This is the C# code: public static string RequestServer1(string methodName, List parameters) { return RequestServer(methodName, parameters.Select(p => new…
Hamita
  • 61
  • 7
0
votes
1 answer

Can I use Tornado for parsing json-rpc to web-frontend?

I'm trying to connect to a server called Moonraker and communicate to it with json-rpc. I think I have solved that task with Tornado, but I also want to create a web UI on port 8080 also with Tornado but in another instance. What is the best way to…
BosenSwe
  • 1
  • 1
0
votes
1 answer

BitCoin senttoaddress - those damned fees explained?

I have two testnet nodes set up at home. I'm testing sending between them, all communication is working just fine! I just tried to send 0.0003 from A->B This is my…
Beertastic
  • 691
  • 1
  • 9
  • 27
0
votes
1 answer

Get jsonRPC data with PHP curl,

Setting up a JSON-RPC on my vps which I want to connect via PHP CURL on my website doing a basic request and looking for getmasternodecount. Tried many scripts and libraries before however none seems to work in my case. Now I try to write some basic…
dutchsociety
  • 575
  • 4
  • 22
0
votes
1 answer

Yew callback for different Json structs

I am using yew with the WebsocketService and sending jsonrpcs to a backend and receive the according answers. I have a problem to distinguish between valid and error jsonrpc answers. Within the model implementation, I create the callback via: let…
mostsignificant
  • 312
  • 1
  • 8
0
votes
3 answers

Recommend a JSON-RPC library for java and javascript

I'm looking around for a good solution for JSON-RPC either in JAVA and Javascript (both sides, but I don't mean it has to be the same project!). Post your hints. I'd like a mainstream project with lot of examples around. I've tried jsonrpc4j but I…
gotch4
  • 13,093
  • 29
  • 107
  • 170
0
votes
1 answer

JsonRpc request from ios 12 sends empty content

I am using vue-json-rpc-client-fetch-withcredentials for comunication with my api via jsonRpc in my ionic5/vue project. Comunication works fine in browser and ios 13 (devices and simulators), but when i running app on ios 12, request’s response is…
David
  • 1
  • 1
0
votes
1 answer

Bitcoind walletnotify configure on Laravel does not work

I have successfully configured bitcoind and connected it from a Laravel application. My issue now is walletnotify does not get triggered when a new transaction comes on an internally generated address. bitcoin.conf…
0
votes
3 answers

how to store the result of the JSON-RPC response to a variable?

{"result": 204, "id": "1", "jsonrpc": "2.0"} this is the result of a json-rpc request for total count of the database. so the total number of documents in the databse is 204. how to grab the value 204 and store it in a variable so that i can use it…
sanjay
  • 3
  • 5
0
votes
1 answer

display json data in a html table

Basically what i have done is to insert some data to the database via the python server- werkzeug. and another function to retreive those data from database. everything works fine with the result shown in the console of the browser. now how to print…
sanjay
  • 3
  • 5
0
votes
1 answer

how to print the JSON-RPC output which is in JSON format in a html-table format

Basically, I have a setup which has a client and a server. The client side is implemented in angularjs which sends the get request to the server, which is in python, that connects to mongoDB and retrieves the result and sends back the response in…
Praveen
  • 3
  • 1
  • 6
0
votes
2 answers

How to call tryton from jsonrpc

I'm trying to connect via json-rpc to the trytond isntance using this class class HttpClient: """HTTP Client to make JSON RPC requests to Tryton server. User is logged in when an object is created. """ def __init__(self, url,…
0
votes
0 answers

Lazarus json-rpc client

What is the easy way to making json-rpc call from freepascal (lazarus)? If it possible with code give some examples. I am read fcl-web but can not find code example.
aminiy
  • 3
  • 4
0
votes
1 answer

rust jsonrpc-core decouple anounymous function from add_method

I am writing rpc server with rust using jsonrpc-core and jsonrpc-http-server. Here is my code: let mut io = IoHandler::new(); io.add_method("validate_public_key", |params: Params| { let map: HashMap = params.parse().unwrap(); …
Bopsi
  • 2,090
  • 5
  • 36
  • 58