0
RestTemplate을 사용하여 다음 서비스 메서드를 호출하는 방법을 알려주십시오. 감사.RestTemplate을 사용하여 REST 서비스 메서드를 호출하는 방법
@RequestMapping(value = "/file/upload", method = { RequestMethod.GET, RequestMethod.POST })
public String fileUpload(@RequestParam("file") MultipartFile file) { }
당신은 resttemplate에 봤어? http://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/remoting.html#rest-resttemplate http://docs.spring.io/spring-android/docs.old /1.0.x/reference/html/rest-template.html – ravi