|
@@ -57,7 +57,9 @@ public class UserHttp {
|
|
System.out.println(requestHeaders.toString());
|
|
System.out.println(requestHeaders.toString());
|
|
System.out.println("body:");
|
|
System.out.println("body:");
|
|
System.out.println(map.toString());
|
|
System.out.println(map.toString());
|
|
-
|
|
|
|
|
|
+ System.out.println("url:");
|
|
|
|
+ System.out.println(urlRegister);
|
|
|
|
+
|
|
RestTemplate restTemplate = new RestTemplate();
|
|
RestTemplate restTemplate = new RestTemplate();
|
|
return restTemplate.postForEntity(urlRegister, new HttpEntity<Map>(map, requestHeaders), String.class).getBody();
|
|
return restTemplate.postForEntity(urlRegister, new HttpEntity<Map>(map, requestHeaders), String.class).getBody();
|
|
}
|
|
}
|