We have a project with a couple of constants that we would prefer to not have in our code - it makes it easier for us to share the code with other organizations. It also makes it easier for us to change those constants in all of our devices without having to reflash the code OTA. Imagine that these constants were the login credentials to some service. We could put them in our code, but what if our service provider changes the credentials on some regular basis?
Our thought was to put the constants in the return template of a webhook. When our firmware starts up it will Publish to trigger the webhook and retrieve these constants for use.
It works well except that the webhook has to have a URL configured. If I put in google.com the process works, but it would be nice if I didn’t have to do that.
If I could configure a webhook without a URL, then I could call it to retrieve these constants from the Particle cloud without having to tickle google.com.