Changes

Line 42: Line 42:  
[[File:Configuration examples json-rpc firefox poster get session id 1 v1.png]]
 
[[File:Configuration examples json-rpc firefox poster get session id 1 v1.png]]
   −
Once you've issued the command, a Response window containing your Session ID should appear:
+
Here's how the response should look like (I've encapsulated the Session ID in a red rectangle):
    +
[[File:Configuration examples json-rpc firefox poster session id response v1.png]]
   −
[[Image:Configuration examples json-rpc firefox poster session id response.PNG]]
+
Copy the Session ID since you'll be needing it when issuing other commands to the router.
   −
 
+
'''NOTE:''' if later on your commands stop working and you get a Response like this: '''{"jsonrpc":"2.0","id":1,"error":{"code":-32002,"message":"<span style=color:red>Access denied</span>"}}''', it probably means that your Session ID has expired so you'll need to ask for a new one. A Session ID expires after 300 seconds (5 minutes).
Copy the ID since you'll be needing it when issuing other commands to the router.
  −
 
  −
'''NOTE:''' if your commands stop working and you get a Response like this: '''{"jsonrpc":"2.0","id":1,"error":{"code":-32002,"message":"<span style=color:red>Access denied</span>"}}''', it probably means that your Session ID has expired so you'll need to ask for a new one. A Session ID expires after 300 seconds (5 minutes).
      
===Getting router parameters===
 
===Getting router parameters===

Navigation menu