Skip to content
Discussion options

You must be logged in to vote

로그인

  • 로그인 시 아이디가 잘못 되면 404 -> 400으로 잘못 지정, 변경 된 내용 추후 반영 예정
  • 비밀번호가 틀리면 400
  • 비밀번호 아이디 둘 중 하나라도 값을 넘기지 않으면 401

회원 가입

  • 아이디 중복 시 400

여기서 말한 숫자는 백엔드에서 지정해둔 HttpStatus값입니다
위 예시에서는 값이 모두 있기 때문에 로그인 값이 없어서 내주는 401에러가 아닌 로그인 실패로 400에러가 맞습니다

Replies: 2 comments 2 replies

Comment options

Eunseo-jo
Apr 12, 2023
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Eunseo-jo
Comment options

Eunseo-jo Apr 12, 2023
Maintainer Author

@Juhongseok
Comment options

Answer selected by Eunseo-jo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
질문
Labels
None yet
2 participants