This object is in archive! 

Alarm API in local mode - /zipato-web/rest/alarms/ doesn't work ?

jb007 shared this problem 9 years ago
Known

Hi,


I want to retrieve alarm status with local HTTP API and without using HTTPS.


=> GET /zipato-web/user/init HTTP/1.1 Host: 192.168.1.110 Connection: Close


<= HTTP/1.1 200 OK Cache-control: no-cache, no-store, max-age=0 Content-type: application/json;charset=UTF-8 Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-length: 123 Connection: close Server: Zipabox/0.9 Pragma: no-cache Date: Tue, 2 Sep 2014 01:08:53 CEST Set-cookie: JSESSIONID=2Jgl0qhLBxiw32Ydbd9YNj5tGMj5Sh84; Path=/zipato-web/; HttpOnly { "jsessionid" : "2Jgl0qhLBxiw32Ydbd9YNj5tGMj5Sh84", "nonce" : "uF7QqLzGURTE4XDOYvgMj4OcKELoWUNf", "success" : true }


=> GET /zipato-web/rest/user/login?username=XXXXX&token=XXXXX HTTP/1.1 Host: 192.168.1.110 Cookie: JSESSIONID=2Jgl0qhLBxiw32Ydbd9YNj5tGMj5Sh84;Path=/zipato-web/; Connection: Close


<= HTTP/1.1 200 OK Cache-control: no-cache, no-store, max-age=0 Content-type: application/json;charset=UTF-8 Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-length: 22 Connection: close Server: Zipabox/0.9 Pragma: no-cache Date: Tue, 2 Sep 2014 01:08:53 CEST { "success" : true }


=> GET /zipato-web/rest/alarms/ HTTP/1.1 Host: 192.168.1.110 Cookie: JSESSIONID=2Jgl0qhLBxiw32Ydbd9YNj5tGMj5Sh84;Path=/zipato-web/; Connection: Close


The last http request return no response from local zipabox. When i tried in HTTPS, the last request is OK. Has someone see the same issue in HTTP ? Is there a workarround or an other solution to get alarm status in local HTTP api mode ?


Thanks


Stef

Replies (5)

photo
1

Should it be solve in next 1.0 release ? When is plan 1.0 ?

photo
1

My initial question is very simple, is'nt et ?

photo
1

Is local API is different from remote API ? Where to find local API documentation ?

photo
2

Same question. Where to find local API documentation?

photo
2

It seems there is still a customer support problem with Zipato... :-(

Leave a Comment
 
Attach a file