Publish events from a webpage


#1

Hello,

I know this must be pretty basic, but I’m a beginer and I want to publish an event from a webpage (or and android app) to my particle device (Boron) suscribed to that event. I have seen som examples but they all do it in the opposite direction, I mean they use the particle device as a sensor to publish events and be shown in a webpage.

Cheers.


#2

Have a look at the JS SDK: https://docs.particle.io/reference/SDKs/javascript/#publishing-event