Page 1 of 1

[ANSWERED] Server Info

PostPosted: Fri May 30, 2014 7:48 am
by mooshee
Here's a sample request I made to my server, which returns the basic html page.
Code: Select all
URL: http://spatz-mini.local.:8176/ } { status code: 200, headers {
    "Content-Encoding" = gzip;
    "Content-Length" = 1192;
    "Content-Type" = "text/html;charset=utf-8";
    Date = "Fri, 30 May 2014 13:41:20 GMT";
    Server = "IndigoWebServer/5.0";
    Vary = "Accept-Encoding";


Versus screenshot from Indigo Touch:
IMG_2865.PNG
Server Info
IMG_2865.PNG (87.56 KiB) Viewed 2017 times


Where does Indigo Touch get the "Connected Server Info" from (i.e. Version, License, Reflector)? Another API call? I know the Host Addr and Host Port already, given the Bonjour service.

BTW, the Server header above seems to indicate version 5.0, but you can see from my screenshot that its running 6.0.12.

Re: Server Info

PostPosted: Fri May 30, 2014 10:20 am
by jay (support)
Indigo Touch uses a different protocol to talk to the Indigo server than how the web pages and RESTful API are served. It's a much more involved protocol and isn't particularly well documented - so you really need to make sure you want to go down that path... ;)

Re: Server Info

PostPosted: Fri May 30, 2014 3:45 pm
by mooshee
I'd love to go down that path (If you wouldn't mind sharing of course)! Believe it or not, most of my enterprise-level integrations involve the least amount of documentation. No two APIs are ever the same.

Feel free to PM or email me directly if you are willing.

Re: Server Info

PostPosted: Fri May 30, 2014 7:07 pm
by matt (support)
Send me an email (indigo-support AT perceptiveautomation.com) and I'll forward on some docs.

Re: [ANSWERED] Server Info

PostPosted: Mon Jun 23, 2014 10:28 am
by mark_anderson_us
Hi Matt

i sent an e-mail a short while ago. This was the post I was referring to

Regards

Mark