Issue #254 #234 Update hard-coded URLs to API reference.

The correct solution would be the use of relative URLs if possible.