Reputation: 21
All had good on endpoints 1.0. I've done all steps at migrating 2.0 google docs. Update my project successfully, and can run endpoints api explorer. But when I try run endpoints api explorer locally (localhost:8080/_ah/api/explorer) it's redirect me to google api explorer. This my app.yaml
application: graphofgroups
version: 1
runtime: python27
threadsafe: true
api_version: 1
handlers:
- url: /static
static_dir: static
- url: /
static_files: static/index.html
upload: static/index\.html
secure: always
- url: /js
static_dir: static/js
- url: /partials
static_dir: static/partials
- url: /.*
script: main.app
- url: /_ah/api/.*
script: main.app
libraries:
- name: ssl
version: latest
- name: pycrypto
version: latest
- name: numpy
version: "1.6.1"
inbound_services:
- mail
builtins:
- remote_api: on
env_variables:
ENDPOINTS_SERVICE_NAME: echo-api.endpoints.graphofgroups.appspot.com
ENDPOINTS_SERVICE_VERSION: [2017-04-06r0]
Upvotes: 2
Views: 66
Reputation: 1932
Redirecting to the Google APIs Explorer is the correct behavior, but given that you are using HTTP for localhost, it prevents you from seeing your API.
There are two fixes that I've found:
Upvotes: 0