-
Notifications
You must be signed in to change notification settings - Fork 4
[POST] 효능 추가 (혁)
Malibin edited this page Dec 28, 2019
·
2 revisions
혁 -
Issue #49
메소드 | 경로 | 짧은 설명 |
---|---|---|
POST | /efficacy | 효능 추가 |
Content-Type: application/json
key | 설명 | 타입 | 비고 |
---|---|---|---|
efficacy_name | 효능 이름 | String | NON-NULL |
{
"efficacy_name" : "효능 이름"
}
{
"status": 201,
"message": "efficacy insert success",
"data": null
}
- 입력값에 Null Value
{
"status": 400,
"message": "입력 값에 null이 존재합니다.",
"data": null
}
- 서버 내부 에러
{
"status": 500,
"message": "서버 내부 에러",
"data": null
}
.