Hi Ansuman,
Redis clients use Redis Serialization Protocol (RESP) to access cache data., not HTTP. For this reason you either need to use one of the available Redis clients or you could use a middleware server software that makes Redis available via http.
For example, you may consider setting up Webdis:
https://github.com/nicolasff/webdis
Please click Accept Answer and upvote if the above was helpful.
Thanks.
-TP