Omba template:
http://{host}/ts/json_api?cmd=login¶ms={user_name:"<user_name>",user_password:"<user_password>"}
Piga vigezo:
user_name
jina la mtumiaji (kuingia)
user_password
neno la mtumiaji
Kitabu cha majibu:
{"sid":"<sid>","remote_host":"<remote_host>","user_name":"<user_name>"}
Vigezo vya majibu:
sid
kitambulisho cha kikao cha pekee
kijijini_host
Mfano wa ombi:
http://uvivion.com/ts/json_api?cmd=login¶ms={user_name:"demo",user_password:"demo"}
Mfano wa majibu:
{"sid":"023B22DA71F38F3AFEF1F3F847C18021","remote_host":"89.218.45.246","user_name":"demo"}