Minta templat:
http://{host}/ts/json_api?cmd=login¶ms={user_name:"<user_name>",user_password:"<user_password>"}
Minta parameter:
user_name
nama pengguna (log masuk)
user_password
kata laluan pengguna
Template respons:
{"sid":"<sid>","remote_host":"<remote_host>","user_name":"<user_name>"}
Parameter tindak balas:
sid
pengecam sesi unik
remote_host
Permintaan contoh:
http://uvivion.com/ts/json_api?cmd=login¶ms={user_name:"demo",user_password:"demo"}
Contoh tindak balas:
{"sid":"023B22DA71F38F3AFEF1F3F847C18021","remote_host":"89.218.45.246","user_name":"demo"}