-
Notifications
You must be signed in to change notification settings - Fork 0
[POST] 이메일 인증 코드 전송
MoonAyoung edited this page Jun 5, 2021
·
4 revisions
메소드 | 경로 | 설명 |
---|---|---|
POST | /api/v2/email/send | 비밀번호 재설정을 위한 이메일 인증 코드를 전송합니다. 인증 코드는 5분 유효합니다. |
![](https://user-images.githubusercontent.com/69340410/120213128-ceb31a00-c26d-11eb-8cd2-cdc17fd313f6.png)
{
"Content-Type": "application/json"
}
{
"email": "test@naver.com"
}
{
"status": 200,
"message": "이메일 전송 성공입니다.",
"data": null
}
![](https://user-images.githubusercontent.com/69340410/120215968-5d756600-c271-11eb-80b3-740b0b663c38.png)
- 존재하지 않는 회원인 경우
![](https://user-images.githubusercontent.com/69340410/120213415-218cd180-c26e-11eb-8f12-ad6f55993a52.png)
{
"message": "User is not Exist",
"status": 400,
"errors": [],
"code": "M003"
}
- 이메일 전송 실패
{
"message": "Email Send Error",
"status": 500,
"errors": [],
"code": "P001"
}
- 서버 에러
{
"message": "Server Error",
"status": 500,
"errors": [],
"code": "C004"
}