請求模板:
http://{host}/ts/json_api?cmd=login¶ms={user_name:"<user_name>",user_password:"<user_password>"}
請求參數:
用戶名
用戶名(登錄)
用戶密碼
響應模板:
{"sid":"<sid>","remote_host":"<remote_host>","user_name":"<user_name>"}
響應參數:
sid
唯一的會話標識符
遠程主機
請求示例:
http://justrac.com/ts/json_api?cmd=login¶ms={user_name:"demo",user_password:"demo"}
響應示例:
{"sid":"023B22DA71F38F3AFEF1F3F847C18021","remote_host":"89.218.45.246","user_name":"demo"}