-
Notifications
You must be signed in to change notification settings - Fork 1
동아리 정보 생성
devi_kya edited this page Mar 12, 2018
·
6 revisions
- Method : POST
- URL : /cia
- Content-Type : application/json; charset=utf-8
필드명 | 타입 | 필수여부 | 설명 |
---|---|---|---|
title | String | Required | 정보 이름 |
text | String | Required | 정보 내용 |
http POST https://:your-site/cia
필드명 | 타입 | 필수여부 | 설명 |
---|---|---|---|
id | Int | Required | 정보가 저장 될 pk |
createdAt | Date | Required | 생성 시각 |
text | String | Required | 정보 내용 |
title | String | Required | 정보 이름 |
{
"title": "",
"text": "asdf",
"id": 1,
"createdAt": "2018-03-12T19:41:45.000Z"
}
http status code | code | message | comment |
---|---|---|---|
200 | 0 | SUCCESS | 정상 응답 |
400 | 0 | FAIL | 비정상 응답 |
401 | 0 | Unathorized | 로그인 필요 |
403 | 0 | Forbidden | 권한 없음 |