From 9dfd27fca4d2292ba5064e81ebdd87bdb1e9adab Mon Sep 17 00:00:00 2001 From: jpark0506 Date: Fri, 11 Oct 2024 11:37:36 +0900 Subject: [PATCH] =?UTF-8?q?mission:=20=ED=9A=8C=EC=9B=90=EA=B0=80=EC=9E=85?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80,=20Request=20Header=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mission/chapter03/mission.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/mission/chapter03/mission.md b/mission/chapter03/mission.md index 1848f4f..12b02fd 100644 --- a/mission/chapter03/mission.md +++ b/mission/chapter03/mission.md @@ -37,7 +37,7 @@ | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | **API Endpoint** | `POST` /review | | **Request Body** | `{`
 `"store_id": ${store_id},`
 `"mission_id": ${mission_id},`
 `"score": ${review_score},`
 `"content": "내용",`
 `"image": ["imageUrl"]`
`}` | -| **Request Header** | `Authorization`: accessToken (String) | +| **Request Header** | `Authorization`: accessToken (String)
`Content-Type`: application/json | | **Query String** | 필요 없음 | ## 나의 미션 목록 조회 @@ -54,9 +54,16 @@ ## 미션 성공 요청 -| 항목 | 내용 | -| ------------------ | ----------------------------------- | -| **API Endpoint** | `PATCH` /mission | -| **Request Body** | { "missionStatus": ${STATUS_TYPE} } | -| **Request Header** | Authorization: accessToken (String) | -| **Query String** | 필요 없음 | +| 항목 | 내용 | +| ------------------ | ------------------------------------------------------------------------- | +| **API Endpoint** | `PATCH` /mission | +| **Request Body** | { "missionStatus": ${STATUS_TYPE} } | +| **Request Header** | `Authorization`: accessToken (String)
`Content-Type`: application/json | +| **Query String** | 필요 없음 | + +| 항목 | 내용 | +| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| **API Endpoint** | `POST` /users/signup | +| **Request Body** | `{`
`"id": 1,`
`"name": "홍길동",`
`"gender": 1,`
`"birthdate": "1995-06-15",`
`"address": "서울특별시 강남구",`
`"likedFood": "김치찌개",`
`"nickname": "길동이",`
`"email": "hong@gmail.com",`
`"phonenum": "010-1234-5678"`
`}` | +| **Request Header** | `Content-Type`: application/json | +| **Query String** | 필요 없음 |