[SOLVED] Changing a variable in particle over the net

You curl command looks funny. Did you leave off the device ID in the URL? It won’t work without that since it doesn’t know which device to send the function call request to.

Yes, i replaced <DEVICE_ID> and <ACCESS_TOKEN> with my keys…

‘Postman’ for Chrome has a fancy UI that should allow you to do the same things, but might be slightly easier to operate.
If it’s just for calling functions, you can give this page I made a shot.

2 Likes

wow that helped! @bko seems like u had right… there are something wrong with my HTML

1 Like

Okay this one is solved :slight_smile: One last question though… is there any way to make sure that if i reset the sensor, it will still have the same variable from the html page?

You can store the variable in EEPROM

3 Likes