From ac05d6107d314c6bafc4f6f51b772c635a9d409f Mon Sep 17 00:00:00 2001 From: Brad Friedman Date: Tue, 28 Jun 2016 11:10:44 -0700 Subject: [PATCH] Update Endpoints sample code for v1.1 alpha --- appengine/standard/endpoints/backend/app.yaml | 8 +++----- appengine/standard/endpoints/multiapi/app.yaml | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/appengine/standard/endpoints/backend/app.yaml b/appengine/standard/endpoints/backend/app.yaml index 31030b73367..d8774bd89d7 100644 --- a/appengine/standard/endpoints/backend/app.yaml +++ b/appengine/standard/endpoints/backend/app.yaml @@ -3,14 +3,12 @@ threadsafe: true api_version: 1 handlers: -# The endpoints handler must be mapped to /_ah/spi. -# Apps send requests to /_ah/api, but the endpoints service handles mapping -# those requests to /_ah/spi. -- url: /_ah/spi/.* +# The endpoints handler must be mapped to /_ah/api. +- url: /_ah/api/.* script: main.api libraries: - name: pycrypto version: 2.6 - name: endpoints - version: 1.0 + version: 1.1 diff --git a/appengine/standard/endpoints/multiapi/app.yaml b/appengine/standard/endpoints/multiapi/app.yaml index 31030b73367..d8774bd89d7 100644 --- a/appengine/standard/endpoints/multiapi/app.yaml +++ b/appengine/standard/endpoints/multiapi/app.yaml @@ -3,14 +3,12 @@ threadsafe: true api_version: 1 handlers: -# The endpoints handler must be mapped to /_ah/spi. -# Apps send requests to /_ah/api, but the endpoints service handles mapping -# those requests to /_ah/spi. -- url: /_ah/spi/.* +# The endpoints handler must be mapped to /_ah/api. +- url: /_ah/api/.* script: main.api libraries: - name: pycrypto version: 2.6 - name: endpoints - version: 1.0 + version: 1.1