Would it be possible to instead of passing a state via a REST browser:


to set an int value? For example, if in the sketch if I would name an int: 2, could I set this to 48 via REST?

If so, how?

  • Just to be perfectly clear, it is illegal in C++ to have a variable name start with (or be) a number. – Anonymous Penguin Jan 28 '15 at 2:56

Check out the TemperatureWebPanel example: you'll see that you can make your own REST APIs and pass any values your sketch can handle.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.