spring-redis-tpl-example
Example for Medium
Create request:
curl -XPOST http://localhost:9091/api/addModel -d 'id="1"&data="test"'
Get request:
curl "http://localhost:9091/api/getModel?id=%221%22" # response(if previous step was prepared): {"id":"\"1\"","data":"\"test\""}