The URI in the example didn't work

On inspection of the code it looks like the protocol and port are required to make the examples work. This works for me.