쿼츠 블로그를 위해 대공사

This commit is contained in:
2026-04-08 13:07:41 +09:00
parent 123642831e
commit 1319881195
606 changed files with 50625 additions and 2 deletions
@@ -0,0 +1,20 @@
스펙: POST 메서드는 대상 리소스가 리소스의 고유 한 의미 체계에 따라 요청에 포함 된 표현을 처리하도록 요청합니다. (구글 번역)
정리: 이 리소스 URI에 POST 요청이 오면 요청 데이터를 어떻게 처리할지 리소스마다 따로 정해야 함 -> 정해진 것이 없음
##### 요청
POST /members HTTP/1.1
Content-Type: application/json
{
"username": "young",
"age": 20
}
##### 응답
HTTP/1.1 201 Created
Content-Type: application/json
Content-Length: 34
==Location: /members/100 ==
{
"username": "young",
"age": 20
}