Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
This works from the command line
c:\redis> redis-cli SET 6f35d12de87c4531a728c74100cc7284 {userId:"6f35d12de87c4531a728c74100cc7284",recommendedAction:"SendAJoke",lookupCount:"12",isActive:"TRUE",Description:"Description1",DateAdded:"2017-03-01"}
but this does not
c:\redis> type u.txt | redis-cli --pipe
where u.txt contains the exact SET command used above.
Error : All data transferred. Waiting for the last reply...
ERR Protocol error: unbalanced quotes in request
I have double checked there are no unbalanced quotes in the file ...
Without this I am not sure I will be able to pre-load my redis instance with the data my service needs.
This works from the command line
c:\redis> redis-cli SET 6f35d12de87c4531a728c74100cc7284 {userId:"6f35d12de87c4531a728c74100cc7284",recommendedAction:"SendAJoke",lookupCount:"12",isActive:"TRUE",Description:"Description1",DateAdded:"2017-03-01"}
but this does notc:\redis> type u.txt | redis-cli --pipe
where u.txt contains the exact SET command used above.Error : All data transferred. Waiting for the last reply... ERR Protocol error: unbalanced quotes in request I have double checked there are no unbalanced quotes in the file ... Without this I am not sure I will be able to pre-load my redis instance with the data my service needs.