Springs comes with handy RestTemplate to consume REST APIs.
(baeldung site has a good resource about RestTemplate.)
I thought to create a generic wrapper to hide the RestTemplate usage so that others can use it without thinking about RestTemplate.
Here is the code. (in my case this is enough for now :) )