I’m using b4i to develop an app on ios.
I have no problems in reading variables using GET and call function using POST.
The problem is when I want to get event from photon to the app. Can’t make it work.
I use the same function as for reading variable (GET) but it doesn’t work.
This is what I send using the GET function (in b4i, I use a library like httpJob so the function I call is
http = "https://api.particle.io/v1/devices/DEVICE_ID/events?access_token=MY_TOKEN"
Anyone has any idea of why it’s not working?
I don’t get any jobDone message and no error when I call this on b4i
If I execute the exact same command on my windows terminal, it works. I see my event when it occurs.