Advertisement
Guest User

Untitled

a guest
May 23rd, 2014
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. $ curl -d '{ "jsonrpc": "2.0", "id": 1, "method": "call", "params": [ "00000000000000000000000000000000", "session", "login", { "username": "root", "password": "secret" } ] }' http://10.11.12.13/ubus
  2. {"jsonrpc":"2.0","id":1,"result":[0,{"ubus_rpc_session":"2d4cd44e609baf09f43c7b0928dcd840",/*...*/}]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement