Changes

no edit summary
Line 4: Line 4:  
'''JSON-RPC''' is a remote procedure call protocol encoded in JSON. It is a very simple protocol (and very similar to XML-RPC), defining only a few data types and commands. JSON-RPC allows for notifications (data sent to the server that does not require a response) and for multiple calls to be sent to the server which may be answered out of order. This is guide on how to use JSON-RPC on RUT230, RUT240, RUT850, RUT950 and RUT955 routers.
 
'''JSON-RPC''' is a remote procedure call protocol encoded in JSON. It is a very simple protocol (and very similar to XML-RPC), defining only a few data types and commands. JSON-RPC allows for notifications (data sent to the server that does not require a response) and for multiple calls to be sent to the server which may be answered out of order. This is guide on how to use JSON-RPC on RUT230, RUT240, RUT850, RUT950 and RUT955 routers.
   −
==Using JSON-RPC with Windows OS==
+
==Enabling JSON-RPC==
 
  −
To login to a RUT device via JSON-RPC, first make sure that monitoring via JSON-RPC is enabled on that device. To do so, follow the steps bellow:
     −
===Enabling JSON-RPC===
+
First off, you'll need to enable JSON-RPC on your router. The easiest way to do so is via the router's WebUI. The steps bellow describe how to do that.
    
<font size="+1">Go the Administration section of the System tab: '''System->Administration'''
 
<font size="+1">Go the Administration section of the System tab: '''System->Administration'''
Line 31: Line 29:  
[[Image:Configuration examples json-rpc administration webui.PNG]]
 
[[Image:Configuration examples json-rpc administration webui.PNG]]
    +
==Using JSON-RPC with Windows OS==
    +
This section is a guide on how to use JSON-RPC with a Windows operating system. If you're using a Linux OS, you can find the guide here
    
===Obtaining a session ID===
 
===Obtaining a session ID===
Line 214: Line 214:  
  }
 
  }
 
The command above will change the router's DHCP Server's current Start address, Address limit and Lease time values (highlighted in orange) to custom values provided in the '''"values"''' section of the command (highlighted in green).
 
The command above will change the router's DHCP Server's current Start address, Address limit and Lease time values (highlighted in orange) to custom values provided in the '''"values"''' section of the command (highlighted in green).
 +
 +
 +
==Using JSON-RPC with Linux OS==
 +
 +
This section will describe how to use JSON-RPC commands with a Linux OS system.
 +
    
</font>
 
</font>

Navigation menu