Very basic RESTful APIs for interacting with Redis using SpringBoot.
java -jar restful-redis-1.0.0-SNAPSHOT.jar
- 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