Example2: GET /webapi/auth.cgi? api=SYNO.API.Auth&method=login&version=2&account=admin&passwd=123456&session=SurveillanceStat ion&format=sid
我的获得sid msg.url = "http://192.168.2.200:5000/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=6&account="+msg.dsm_account+"&passwd="+msg.dsm_passwd+"&session=SurveillanceStation&format=sid";
GetSnapshot是 msg.url = 'http://192.168.2.200:5000/webapi/entry.cgi?version=1&id='+msg.dsm_camera_id+'&api="SYNO.SurveillanceStation.Camera"&method="GetSnapshot"&profileType=0&_sid="'+sid+'"'; 不会我是dsm7的缘故吧,好像没看到开发档案中说到7的
|