Bolt cloud with own website


#1

How can I use BOLT cloud on a self designed website?


#2

@ansari.raza05 To access bolt cloud from your website we provide some different type of API. For example, if you want to read digital input from your bolt you need digital read API which is defined in the API documentation section in the bolt cloud.


#3

Thanks for the response.
Please give a sample code, if you can.
for example: I want to control a led using arduino from my website, using BOLT cloud.


#4

@ansari.raza05 yeah just call the api from your website. just make few changes in the api.
set state as high or low.
define the pin on which you had connected the led.
use your api key and bolt id and ping on this url after changing these values
https://cloud.boltiot.com/remote/00a4679f-c881-4677-81bb-29295177205f/digitalWrite?pin=0&state=HIGH&deviceName=BOLT13819450