How to access REST API **with** password

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