Consuming RemoteControl 2 API using C#

Mehr
3 Jahre 11 Monate her #97834 von madflow
madflow erstellte das Thema Consuming RemoteControl 2 API using C#
I have got JSON_RPC service.
I had added the code from bitcoin.stackexchange.com/questions/5810...json-rpc-api-using-c which provides the method to call rpc service.
A detailed approach is provided at en.bitcoin.it/API_tutorial_(JSON-RPC)#.NET_ (C_

But still no data is returned by the get_session_key service. Tried both the encrypted password and the the actual password. But no luck.
string[] strobj = { "Admin", "XYZ" };
string method = "get_session_key";
JObject joe = new JObject();
joe=InvokeMethod(method, strobj);

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 11 Monate her #97841 von mdekker
mdekker antwortete auf das Thema: Consuming RemoteControl 2 API using C#
From what i read the content type is wrong. For the service to work it needs to be application/json instead of application/json-rpc

On bitcoin.stackexchange.com/questions/5810...json-rpc-api-using-c is the code for the InvokeMethod, you should try to change that.

Good luck! If you happen to get it working, please be so kind to add some example code to our wiki at manual.limesurvey.org/RemoteControl_2_API it might help others to get started.

---
Menno Dekker

Bitte Anmelden um der Konversation beizutretten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten