Skip to content

[POST] 효능 추가 (혁)

Malibin edited this page Dec 28, 2019 · 2 revisions

[POST] 효능 추가

혁 - 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
}

Clone this wiki locally