Last active
April 27, 2020 08:23
-
-
Save CheolhoJeon/1c8e31ab004d7dece65d8d7f8e915881 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.springframework.web.bind.annotation.RequestBody; | |
import org.springframework.web.bind.annotation.RestController; | |
@RestController | |
public class RestMemberController { | |
private MemberDao memberDao; | |
private MemberRegisterService registerService; | |
... | |
@PostMapping("/api/members") | |
public void newMember(@RequestBody @Valid RegisterRequest regReq, HttpServletResponse response) throws IOException { | |
... | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment