How can I push API requests to Redis?

I’m on a docker and I have an API app. This API is written in Go, i have Goroutines that are calling methods that do requests on the api services.
What I want is to use caching in order to not do these calls all the time and gain in performance.

In order to do that, I installed Redis as well as its command line interface.

In order to test things out before diving into the code I would like to push the API Requests to Redis maybe by using the CLI but I’m not really sure how to start and how to do it. Some help would be very appreciated thank you in advance !

Source: Docker Questions