Spring Boot๋ก ์ด๋ฉ์ผ ์ ์ก ๊ธฐ๋ฅ ๊ตฌํ
- OS : Windows
- IDE : IntelliJ IDEA Ultimate
- Language : Java 8(openjdk 1.8)
- Framework : Spring Boot
- Build Tool : Gradle
- WAS : Apache Tomcat 9.0.56
- ๋ฉ์ผ ์ ์ก
- URL :
/mail/send - Method : POST
- Request
-
Content-Type : application/json
-
Body
Name Type Mandatory Example Description toAddress String Y test@gmail.com ๋ฉ์ผ ๋ฐ์ ์ด๋ฉ์ผ ์ฃผ์ title String Y ์ ๋ชฉ ๋ฉ์ผ ์ ๋ชฉ content String Y ๋ด์ฉ ๋ฉ์ผ ๋ณธ๋ฌธ - example
{ "toAddress":"test@gmail.com", "title":"์ ๋ชฉ", "content":"๋ด์ฉ" }
- example
-
- Response
-
Content-Type : application/json
-
Body
Name Type Mandatory Example Description isSuccess Boolean Y true ์์ฒญ ์ฑ๊ณต ์ฌ๋ถ message Object Y ๋ฉ์ผ ์ ์ก์ ์ฑ๊ณตํ์ต๋๋ค! ์์ฒญ ์ฒ๋ฆฌ ๊ฒฐ๊ณผ ๊ด๋ จ ๋ฉ์์ง - example
โท success caseโท fail case{ "isSuccess" : true, "message" : "๋ฉ์ผ ์ ์ก์ ์ฑ๊ณตํ์ต๋๋ค!" }{ "isSuccess" : false, "message" : "์ด๋ฉ์ผ ์ ์กํ๋ ๊ณผ์ ์์ ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ต๋๋ค." }{ "isSuccess": false, "message": { "toAddress": "์ฌ๋ฐ๋ฅธ ํ์์ ์ด๋ฉ์ผ ์ฃผ์์ฌ์ผ ํฉ๋๋ค", "content": "๊ณต๋ฐฑ์ผ ์ ์์ต๋๋ค" } }
- example
-
- URL :