Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

app engine: no api in explorer

I'm trying to use the Google Plugin to create a Web API as shown in this video:

Building web API's for Android seen from 26:50 until 39:40

I need a database for my Android app and try to use Google cloud endpoints, but am unable to do it following this video. I've been searching for more than a day on figuring out what I am doing wrong.

When I run the web application,

http://localhost:8888/_ah/admin/datastore?kind=message 

look alright and I can insert data using curl

for instance:

curl -H 'Content-Type: application/json' -d ' { "msMsg" : "my message!", "id" : 1 } ' http://localhost:8888/_ah/api/msgendpoint/v1/msg

But when I do

http://localhost:8888/_ah/api/explorer

I get this:

HTTP ERROR 404
Problem accessing /_ah/api/explorer. Reason:
     NOT_FOUND
like image 945
Boy Avatar asked Jul 15 '12 16:07

Boy


1 Answers

You may need to deploy your app to get this URL to work. As an alternative, you can try navigating to a URL like this:

https://developers.google.com/apis-explorer/?base=http://localhost:8888/_ah/api

This URL will read your local Discovery document (from your browser) and display the APIs Explorer for those APIs.

like image 127
Jason Hall Avatar answered Sep 28 '22 00:09

Jason Hall