Updated the default API endpoint

This is a fix proposed to the issue #2