Publish events from a webpage


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.


Have a look at the JS SDK: