allow to change API base url
Merge pull request #37 from heroku/endpoint-url

Allow to change API base url