Python 本地主机上的Google API Explorer-找不到404

Python 本地主机上的Google API Explorer-找不到404,python,google-apis-explorer,endpoints-proto-datastore,protorpc,Python,Google Apis Explorer,Endpoints Proto Datastore,Protorpc,我正在使用dev_appserver.py在本地运行一个webapp 我的应用程序在localhost:8080上正常运行 当我尝试访问Api端点资源管理器@localhost:8080/_ah/Api/explorer时,我得到404错误 控制台日志: INFO 2017-11-07 05:59:24864 module.py:821]默认值:“GET/\u ah/api/explorer HTTP/1.1”404 154 应用程序yaml application: hari-mq-endpo

我正在使用dev_appserver.py在本地运行一个webapp 我的应用程序在localhost:8080上正常运行 当我尝试访问Api端点资源管理器@localhost:8080/_ah/Api/explorer时,我得到404错误

控制台日志:

INFO 2017-11-07 05:59:24864 module.py:821]默认值:“GET/\u ah/api/explorer HTTP/1.1”404 154

应用程序yaml

application: hari-mq-endpoints
version: 1
runtime: python27
api_version: 1
threadsafe: yes

builtins: 
 - deferred: on

handlers:
- url: /favicon\.ico
  static_files: favicon.ico
  upload: favicon\.ico

# Serving static files (css, images, etc)
- url: /static
  static_dir: static

# Loads some data
- url: /importdata/.*
  script: main.app
  login: admin

# Endpoints Handler
- url: /_ah/spi/.*
  script: api.app

# Main handler
- url: .*
  script: main.app

libraries:
- name: webapp2
  version: "2.5.2"
- name: jinja2
  version: "2.6"
api.py

import endpoints
from protorpc import remote
from models import MovieQuote

@endpoints.api(name="moviequotes", version="v1", description="Movie Quotes API")
class MovieQuotesApi(remote.Service):
    @MovieQuote.method(path="moviequote/insert",name="moviequote.insert", http_method="POST")
    def moviequote_insert(self, request):
        """ Inserts a new MovieQuote into the Datastore. """
        request.put()
    return request

app = endpoints.api_server([MovieQuotesApi], restricted=False)


打开api资源管理器,我已启用运行不安全脚本。但它仍然没有显示我的api

没关系……错误在于我没有将端点添加到库中,并将其添加到应用程序的末尾。yaml解决了这个问题。-名称:端点版本:1.0