To login to the router via JSON-RPC you will need software capable of sending requests to the router. The simplest solution is to install an add-on similar to Firefox’s '''“Poster”''': '''https://addons.mozilla.org/en-US/firefox/addon/poster/'''.
+
To login to the router via JSON-RPC you will need software capable of sending HTTP POST requests to the router. The simplest solution is to install an add-on similar to Firefox’s '''“Poster”''': '''https://addons.mozilla.org/en-US/firefox/addon/poster/'''.
Once you've installed this add-on, you can launch it by opening the Mozilla Firefox browser and pressing '''Ctrl+Alt+p'''.
Once you've installed this add-on, you can launch it by opening the Mozilla Firefox browser and pressing '''Ctrl+Alt+p'''.
Line 53:
Line 53:
−
In order to obtain a Session ID, enter the router's '''[[LAN]]''' IP address (default: '''http://192.168.1.1/ubus''') into the '''URL''' field if you're logging into the router locally or if you wish to login remotely, enter the '''[[WAN]]''' IP address instead. Next, enter the login username and password in the '''User Auth.''' field. Then paste this command into the '''Content to send''' field and click '''Post''':
+
In order to obtain a Session ID you must send an HTTP POST request to the router asking for it. To do so, enter the router's '''[[LAN]]''' IP address (default: '''http://192.168.1.1/ubus''') into the '''URL''' field if you're logging into the router locally or if you wish to login remotely, enter the '''[[WAN]]''' IP address instead. Next, enter the login username and password in the '''User Auth.''' field. Then paste this command into the '''Content to send''' field and click '''Post''':