Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @PostMapping("/sign-up")
- public void signUpOwner(@RequestBody MultiValueMap <String , String > json ) throws ApplicationException, Exception {
- String username = json.get("username").toString();
- String password =json.get("password").toString();
- String email = json.get("email").toString();
- @PostMapping("/sign-up")
- public void signUpOwner(@RequestBody ApplicationUser user) throws ApplicationException, Exception {
- String username = user.getUsername();
- String password = user.getPassword();
- String email = user.getEmail();
Add Comment
Please, Sign In to add comment