GET
Retrieves the string value stored at a key.
Strings · Example verified
Syntax covered here
GET keyThe cases verify stored values and null results for absent keys, including after GETDEL.
Tested example & replies
Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.
# connection: default
> SET greeting hello
"OK"
# connection: default
> GET greeting
"hello"