Please forgive my ignorance, I have very little experience with programming in general.
I have a webhook configured to get data from another service whenever called from my photon. When I check the webhook history in the particle console, it appears the calls are successfully going through and returning the expected requested value.
However, I can’t seem to read the values on the photon side. I would expect the handler function to be the place to parse the received data and use it accordingly. Here is the simplest form of the code I can make and I can’t get the handler function to even print to the serial monitor.
Your original code subscribes for MY_DEVICES which is correct since you’re publishing PRIVATE.
But in your running code you are subscribing for ALL_DEVICES which doesn’t fly well with PRIVATE events.
Hence the desperate need to see the original code and not some lookalike.
Quick observation, you haven’t declared the myHandler(); before you do the Particle.subscribe(). Before void setup() enter void myHandler(const char *event, const char *data). Also, delay(60000); in the loop() function is not a good idea - better something like this
That's not an issue with .ino files since the Particle preprocessor creates function prototypes where they are missing.
While it is good practice and for .cpp files even compulsory the lack of a prototype doesn't hinder the functionality - it would rather cause a compile time error.