system
1
When REST API access is open, everything looks fine.
When REST API access is "with password", I always get a 403 error from Arduino Yún. I've tried
basic auth
and
http://arduino:mypassword@arduino.local/arduino/digital/13
and
http://arduino.local/arduino/digital/13?password=mypassword
But none of them works. How do I suppose to enter the password for REST API access?
BTW: I copy the sketch from http://arduino.cc/en/Tutorial/Bridge
Embed the user id and password into the URL. For example:
http://userid:password@www.anywhere.com/
ftp://userid:password@ftp.anywhere.com/
Access REST API with password
http://root:arduino@192.168.0.104/arduino/digital/13/0
http://root:arduino@192.168.0.104/arduino/digital/13/1
system
3
Thanks. I used a wrong username 'arduino'. 'root' works! 
sonnyyu:
Embed the user id and password into the URL. For example:
http://userid:password@www.anywhere.com/
ftp://userid:password@ftp.anywhere.com/
Access REST API **with** password
http://root:arduino@192.168.0.104/arduino/digital/13/0
http://root:arduino@192.168.0.104/arduino/digital/13/1