diff --git a/src/main/java/com/hackathon/nullnullteam/member/controller/MemberController.java b/src/main/java/com/hackathon/nullnullteam/member/controller/MemberController.java index 740e8c8..da662e0 100644 --- a/src/main/java/com/hackathon/nullnullteam/member/controller/MemberController.java +++ b/src/main/java/com/hackathon/nullnullteam/member/controller/MemberController.java @@ -11,6 +11,7 @@ import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; @@ -33,7 +34,7 @@ public ResponseEntity login() { .build(); }*/ - @GetMapping("/callback") + @PostMapping("/callback") public ResponseEntity registerMember(@RequestBody MemberRequest.Info request) { MemberModel.Login memberInfo = memberService.register(request.toCommand());