|
@@ -53,6 +53,11 @@ public class UserHttp {
|
|
|
map.put("avatar", "");
|
|
|
map.put("nickname", "");
|
|
|
|
|
|
+ System.out.println("header:");
|
|
|
+ System.out.println(requestHeaders.toString());
|
|
|
+ System.out.println("body:");
|
|
|
+ System.out.println(map.toString());
|
|
|
+
|
|
|
RestTemplate restTemplate = new RestTemplate();
|
|
|
return restTemplate.postForEntity(urlRegister, new HttpEntity<Map>(map, requestHeaders), String.class).getBody();
|
|
|
}
|