Demo of Sockets API for Google App Engine
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
app.yaml
main.py

README.md

appengine-redis

You can either run this on the local dev_appserver or you can deploy it. Once running, you can fetch values with GETs. This method uses r.get() to retrieve values from the remote Redis installation:

$ curl -w '\n' 'http://yourappname.appspot.com?igor'                        
igor="IT WORKS!"<br>                                                        

Use PUT to add/update values. This method uses r.set():

$ curl -w '\n' 'http://yourappname.appspot.com' -X PUT -d 'proj=treadstone' 
                                                                            
$ curl -w '\n' 'http://yourappname.appspot.com?igor&proj'                   
proj="treadstone"<br>igor="IT WORKS!"<br>                                   

Use DELETE - r.delete() - to remove values:

$ curl -w '\n' 'http://yourappname.appspot.com?igor' -X DELETE              
                                                                            
$ curl -w '\n' 'http://yourappname.appspot.com?igor&proj'                   
proj="treadstone"<br>igor="None"<br>