added compatibility with Arduino Yun REST API