I’m using a Photon and I know that I can expose a variable to the particle cloud with Spark.variable() and then get that anytime I want with the api.particle.io link.
How would I do this with my own private cloud? I can send HTTP requests to my private cloud but I’m not sure I understand how my cloud can ping my device for data.