Skip to content
Advertisement

Tag: resttemplate

How do I retrieve Resource object using restTemplate in Spring Boot?

So, basically the title. I got 2 microservices. One generates and sends a zip file and the other one receives it, then does some magic, converts it to an array[] of bytes and then sends it somewhere else. But it’s just in theory – I coldn’t make it work. I need to download a Resource (https://docs.spring.io/spring-framework/docs/3.2.x/spring-framework-reference/html/resources.html) that contains InputStream that

Advertisement