81,092
社区成员
发帖
与我相关
我的任务
分享
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://www.baidu.com": www.baidu.com:80 failed to respond; nested exception is org.apache.http.NoHttpResponseException: www.baidu.com:80 failed to respond
RestTemplate.exchange("http://www.baidu.com", HttpMethod.POST, new HttpEntity<>(body,headers), String.class);