The Multipart File Upload worked after following code modification to Upload using RestTemplate LinkedMultiValueMap<String, Object> map = new LinkedMultiValueMap<>(); map.add(“file”, new ClassPathResource(file)); HttpHeaders headers = new HttpHeaders(); headers.setContentType(MediaType.MULTIPART_FORM_DATA); HttpEntity<LinkedMultiValueMap<String, Object>> requestEntity = new HttpEntity<LinkedMultiValueMap<String, Object>>( map, headers); ResponseEntity<String> result = template.get().exchange( contextPath.get() + path, HttpMethod.POST, requestEntity, String.class); And adding MultipartFilter to web.xml <filter> <filter-name>multipartFilter</filter-name> <filter-class>org.springframework.web.multipart.support.MultipartFilter</filter-class> … Read more