Fix api endpoint in connection
Merge pull request #1 from phildionne/master

Fix api endpoint in connection