Enable support for Google Cloud Endpoints

Reference: https://developers.google.com/appengine/docs/python/endpoints/consume_js
Why not make this just param something like `appspotId` instead,...and not require the user to set a full URL?