Overview
1. HTTP Method
-RESTful notes tries to adhere as closely as possible to standard HTTP and REST conventions in its -use of HTTP verbs.
-Verb | -Usage | -
---|---|
|
-Used to retrieve a resource |
-
|
-Used to create a new resource |
-
|
-PUT 설명 |
-
|
-Used to update an existing resource, including partial updates |
-
|
-Used to delete an existing resource |
-
2. HTTP status codes
-RESTful notes tries to adhere as closely as possible to standard HTTP and REST conventions in its -use of HTTP status codes.
-Status code | -Usage | -
---|---|
|
-The request completed successfully |
-
|
-A new resource has been created successfully. The resource’s URI is available from the response’s
- |
-
|
-An update to an existing resource has been applied successfully |
-
|
-The request was malformed. The response body will include an error providing further information |
-
|
-The requested resource did not exist |
-
3. 게시판
+1. 게시판
3.1. 게시판 목록 조회
+1.1. 게시판 목록 조회
3.1.1. HTTP request
+1.1.1. HTTP request
GET /boards HTTP/1.1
@@ -701,7 +613,7 @@
-3.1.2. HTTP response
+1.1.2. HTTP response
HTTP/1.1 200 OK
@@ -734,7 +646,7 @@
-3.1.3. Cookie
+1.1.3. Cookie