RSS구독하기:SUBSCRIBE TO RSS FEED
즐겨찾기추가:ADD FAVORITE
글쓰기:POST
관리자:ADMINISTRATOR
Web  2012. 6. 19. 12:23

http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html

http://en.wikipedia.org/wiki/List_of_HTTP_status_codes

https://developer.atlassian.com/display/REST/Atlassian+REST+API+Design+Guidelines+version+1

GET (Read)

204 : No Content (존재하지 않을 때)


POST (Create)

201 : Created (생성되었을 때)


PUT (Update)

201 : Created (수정으로 인해서 새로운 리소스가 생성되었을 때)

204 : No Content (수정 대상이 존재하지 않을 때)

501: Not Implemented (입력 요소를 서버가 인지할 수 없는 경우)


DELETE (Delete)

202 : Accepted (삭제 되었을 때)

204 : No Content (삭제할 대상이 존재하지 않을 때)


Common

200 : OK (Response Body가 존재하는 경우)


301 : 해당 API가 다른 API로 변경된 경우


400 : Bad Request (ValidationError)

401 : Unauthorized (로그인 session 만료)

403 : Forbidden (권한 없음)

404 : Not Found (존재하지 않는 API)


// Error

500 : Internal Server Error (서버 에러)


Custom Error (after 520)

5xx


'Web' 카테고리의 다른 글

XP 지원 종료, 브라우저 점유율 및 전망  (0) 2014.03.24
Http 1.1 Restful Service Method  (0) 2012.06.19
IE의 '호환성 보기'  (0) 2012.05.16

Trackback
Reply
Moss:
Root (119)
Dev (14)
Life (29)
Programming (2)
Music (2)
Android (4)
Tip (2)
Java (11)
Creative (3)
Lyrics (2)
Windows 7 (2)
Etc (7)
C# (8)
Spring (1)
jQuery (2)
Web (4)
Travel (10)
Cook (0)
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31