Has anyone find to use the GAE remote api but instead of connecting to AppEngine to connect to localhost? For dev purposes of course
相关问题
- java.lang.NullPointerException at java.io.PrintWri
- Google places autocomplete suggestion without coun
- __call__() missing 1 required positional argument:
- Karate API Testing - Access variable value across
- How to verify laravel passport api token in node /
相关文章
- 我用scrapy写了一个蛮简单的爬虫怎么封装成一个api啊
- 后端给前端的API接口是怎么用代码写的
- Is there a size limit for HTTP response headers on
- Convert C# Object to Json Object
- appcfg.py command not found
- Android camera2 API get focus distance in AF mode
- Google app engine datastore string encoding proble
- Getting all listing images from an Etsy shop
i was able to get this working by adding the following to the app.yaml file
and then from the command line you can access the db, users, urlfetch or memcache modules
This will prompt you for the email and password but this is not important right now. the remote_api_shell.py is on my path from the google app engine directory
If there are some like me who prefer to execute from a python script rather than a shell:
I run the dev server with the option "--api_port 8081" otherwise just look at the port used in the dev server logs ("Starting API server at ...").
The environ tweaks are to be able to use cloudstorage api against the dev server too.
Have you tried the development console? To access it, go to this URL: http://localhost:8080/_ah/admin.
If you really want to use the remote API, have a look at this article. I believe you can use the dev_server by passing the local host url to the interactive console script.
For Java see this document which explains both local and remote access https://developers.google.com/appengine/docs/java/tools/remoteapi#Configuring_Remote_API_on_the_Client