Vincent Bouttard replied to the topic 'PHP web API' in the forum. 6 years ago

Hello
I think that it is possible to use PHP. However, you have to use sockets to speak with the Indi Server ; but be careful beacause all PHP servers don't allow that. Look at php.net and sockets functions to get more informations. Look at asynchronous PHP options too ; this is really important to avoid some blocking issues when you will call with the INDI Server. I think this is not the best way. A better solution should be using Node.js (or Python, like Indi Lite) on the backend.

I'm really interested in Marco's job on Indi Lite. I would like to use a web based GUI (made with React, for example) but with an asynchronous server written in Node.js.
Where is it possible to find your REST API ?

Vincent

Read More...