CONNECTING
A variety of tools may be used to connect to Pogocache. This includes valkey-cli, redis-cli, psql, and curl. Telnet is also available, which uses the Memcache interface.
Here's an example using curl
$ curl -X PUT -d "my value" http://localhost:9401/mykey
Stored
$ curl http://localhost:9401/mykey
my value
$ curl -X DELETE http://localhost:9401/mykey
Deleted
Here's an example using a RESP (Valkey/Redis) client.
$ valkey-cli -p 9401
> SET mykey value
OK
> GET mykey
"my value"
> DEL mykey
(integer) 1
Here's an example using psql, the Postgres command line tool.
psql -h localhost -p 9401
=> SET mykey 'my value';
=> GET mykey;
=> DEL mykey;