3

I'm trying to run RestServer on my Arduino UNO WiFi, and I'm currently using the tutorial from Arduino: http://www.arduino.org/learning/tutorials/boards-tutorials/restserver-and-restclient

Everything works as expected, but whenever I change this:

  // is "digital" command?
  if (command == "digital") {
    digitalCommand(client);
  }

To this:

  // is "digital" command?
  if (command == "test") {
    digitalCommand(client);
  }

and go the the same URL but instead of "digital", user "test", I get a "not found" error.

(from http://url/arduino/digital/13/1 to http://url/arduino/test/13/1)

Am I doing something wrong? Or are the URLs in that example the only possible ones?

1
  • Try "/arduino/digital/test"... Commented Apr 14, 2017 at 18:58

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.