Skip to content

Very basic RESTful APIs for interacting with Redis using SpringBoot.

Notifications You must be signed in to change notification settings

gangaaloori/restful-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

restful-redis

Very basic RESTful APIs for interacting with Redis using SpringBoot.

How to run

java -jar restful-redis-1.0.0-SNAPSHOT.jar

How to test

  • Set key-value pair to Redis
curl -H "Content-Type: application/json" -H "Accept: application/json" -X PUT -d "{\"key\": \"amit\",  \"value\": \"nfr tester\"}" http://localhost:8080/set
  • Get value from Redis
curl -i -X GET "http://localhost:8080/get?key=ganga"
  • List all key-value pairs
curl -i http://localhost:8080

About

Very basic RESTful APIs for interacting with Redis using SpringBoot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages