I am using the RUTX12 router, it has the firmware version RUTX_R_00.07.02.4 installed.
My device is a Windows desktop PC, in which i have a Python script that, using the JSON-RPC protocol, connects to the router. But, for some reason when i try to send the message (IP, user and password is correct as i can enter via SSH and check it):
curl -d "{ \"jsonrpc\": \"2.0\", \"id\": 1, \"method\": \"call\", \"params\": [ \"00000000000000000000000000000000\", \"session\", \"login\", { \"username\": \"*user*\", \"password\": \"*password*\" } ] }" http://192.168.1.1/ubus
I get the next output:
{"jsonrpc":"2.0","id":1,"error":{"code":-32000,"message":"Object not found"}}
What does this mean?
Best regards,
David