Skip to content

xhroot/appengine-redis

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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>    

About

Demo of Sockets API for Google App Engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages