I am trying to deploy a cloud endpoints api so I can use it on my website. When I run it locally the api works fine (loads and works properly and doesn't give an error). However, when I upload to the web it doesn't load. (when I check api explorer I just get the yellow loading bar near the search and I can't get it to load using JavaScript)
I checked both the logs on the local machine and the logs in the developers console but their isn't anything informative about the endpoints
Based on suggestion here GAE cloud endpoints - Api not updating after deploy
I checked my logs and found the following line "POST /_ah/spi/BackendService.getApiConfigs HTTP/1.1" 200
My endpoints has the following header
@endpoints.api(name='treesruleApi', version='v1')
In my app.yaml I have
- url: /_ah/spi/.*
script: api.APPLICATION
I am not really expecting a solution but I would love to know other things I can try.
P.S. Below is my whole app.yaml for reference (without the application:application line)
version: 1
runtime: python27
api_version: 1
threadsafe: yes
handlers:
- url: /bootstrap
static_dir: bootstrap
- url: /style
static_dir: style
- url: /flot
static_dir: flot
- url: /_ah/spi/.*
script: api.APPLICATION
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico
- url: /.*
script: app.application
builtins:
- remote_api: on
- admin_redirect: on
libraries:
- name: webapp2
version: latest
- name: jinja2
version: latest
- name: endpoints
version: 1.0