Data Retrieval From Bolt Cloud into Ubuntu Server

Hi, all @vinayak.joshi @yeshwant.naik @PPV

I have written a html+javascript code on the bolt cloud.
In that, I have included a button with ‘onclick’ TURN OFF SOUND functionality.
Is there any way I can access the status of this ‘onclick’ button in UBUNTU SERVER, that whether the button had been clicked once or not.
If yes, please explain me how, as I am working on a project to upload
Thank you

As you have written html+javascript code on the bolt cloud itself it might be tricky to access it from an ubuntu server. Look at it like a static html document which loads onto your browser where javascript is executed. What you are trying to achieve here is you want to log whether a button on html page is clicked from your server, there will be multiple solutions to it. I’d suggest you following workaround for the same:

  1. Make your Ubuntu Server accessible from the internet. (You will have to open ports and have a public ip for this)
  2. Write an http server in a language of your liking. (Write an http server that logs http requests in a file)
  3. Modify your html+javascript code on bolt cloud to send request to your logging server. (You will have to write javascript code to send http request to your Ubuntu Server)

I hope this helps! :smiley: