private static final RestTemplate restTemplate = new RestTemplate();
public static void GET(String url, String id) {
String urls = url + id;restTemplate.getForEntity(urls, String.class);
}
public static void GET1(String url, String oldNum,String newNum) {
String urls = url + "?oldNum=" + oldNum + "&newNum=" + newNum;
restTemplate.getForEntity(urls, String.class);
}