restTemplate.postForObject两个方法1、restTemplate.postForObject(url, null, String.class, params);Example:UriTemplate template = new UriTemplate("http://example.com/hotels/{hotel}/bookings/{booking}");Map uriVariables = new HashMap();