Hi,i am currently running the local spark server on my mac book and have the spark core connected to local spark server.
now i want to know is it possible to use the spark restful api to make pin on and off, just like using the spark mobile application to click the button and make one IO pin on the spark core on / off.
Yes, this is possible, but - as far as I know - not with the official Spark mobile app.
I’ve extended the Android Spark Tinker app to support local server, tho’
But as there was no call for my version and now with the Spark Mobile SDK, I’ve stopped pursuing this.
On the other hand, there are other ways to do what you asked in other threads on this forum.
You can obviously no longer use the api.spark.io address once you’re using the Local , and will have to replace that by the address of your server. There are some guides available on the forum which you should be able to find by using search (it works surprisingly well )