View unanswered posts | View active topics It is currently Tue May 21, 2013 3:48 pm



Reply to topic  [ 3 posts ] 
 prism access with Curl? 
Author Message

Joined: Jun 20, 2011
Posts: 11
Post prism access with Curl?
Hi,

Is there an 'API' for Indigo Prism? Would like to access certain variables (to start with) from a remote location and this seemed like a quite secure and easy way to do this. And more reliable then email triggers.

Thanks, Gerrit Jan


Tue Aug 14, 2012 8:47 am
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11689
Location: Texas
Post Re: prism access with Curl?
Prism just relays traffic to the normal Indigo Web Server (running on your Mac). That server has a RESTful API you can access. The details are on the wiki here, which also includes examples for getting and changing variable values.

For accessing the RESTful API away from your home instead of http://127.0.0.1:8176 use your GoPrism reflector URL, like https://myreflector.goprism.com. Depending on how you are accessing it, you might have to specify your Indigo Web Server username and password (the Web server uses HTTP digest authentication).

_________________
Image


Tue Aug 14, 2012 7:29 pm
Profile WWW

Joined: Jun 20, 2011
Posts: 11
Post Re: prism access with Curl?
Okay Matt,

That's clear and working now. I tried to mimic my browser url without realizing I could just use the REST api, which I also use from my Arduino nodes...

Kind regards, Gerrit Jan


Wed Aug 15, 2012 12:05 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.