How to get the response of an API call using Rest Template when the response type is unknown
I have a requirement where I need to fetch the response of various company results. Each company will share a REST API with me (with all the details to invoke the API). I need to read a particular param from the response. The param will be known to me in advance and it might differ for every API.