Spring Cloud Consultant

Job ID: 34266580

Budget: $30 – $250 USD

I have a Java Web project using Spring Boot/Cloud and I need to act on top of a Proxy/BFF more specifically within a filter, in which I want to get the server's response to a given request and save the data in a RedisDB database. How do I get this response from the server? I'm trying to use ServerHttpResponse response = exchange.getResponse() but I'm not getting it, it seems I need to write the response in a byte array and maybe convert it to json.