From 8443750c998f50bc8af31814dbc53ecff4a26080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9E=A5=EB=8F=99=EA=B2=B8?= Date: Tue, 19 Nov 2024 01:39:36 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=83Docs/#22:=20AuthControllerHttpReque?= =?UTF-8?q?st=20=EC=98=A4=ED=83=80=20=EC=88=98=EC=A0=95=20(#23)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http/auth/AuthControllerHttpRequest.http | 38 ++++++++++++------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/http/auth/AuthControllerHttpRequest.http b/http/auth/AuthControllerHttpRequest.http index c6172b8..9b86173 100644 --- a/http/auth/AuthControllerHttpRequest.http +++ b/http/auth/AuthControllerHttpRequest.http @@ -1,6 +1,6 @@ ### 1.1 사용자 로그인 (Kakao Oauth) // @no-log -POST {{host_url}}/v1/oauth/login +POST {{host_url}}/api/v1/oauth/login Content-Type: application/json { @@ -15,8 +15,8 @@ Content-Type: application/json ### 1.2 디바이스 토큰 갱신 // @no-log -PATCH {{host_url}}/v1/auth/device-token -Authorization : Bearer {{access_token}} +PATCH {{host_url}}/api/v1/auth/device-token +Authorization: Bearer {{access_token}} Content-Type: application/json { @@ -25,17 +25,17 @@ Content-Type: application/json ### 1.3 JWT 재발급 // @no-log -POST {{host_url}}/v1/auth/reissue/token -Authorization : Bearer {{refresh_token}} +POST {{host_url}}/api/v1/auth/reissue/token +Authorization: Bearer {{refresh_token}} ### 1.4 사용자 로그아웃 // @no-log POST {{host_url}}/v1/auth/logout -Authorization : Bearer {{access_token}} +Authorization: Bearer {{access_token}} ### 2.1 가게 일반 회원가입 (데이터 삽입용) // @no-log -POST {{host_url}}/v1/auth/sign-up +POST {{host_url}}/api/v1/auth/sign-up Content-Type: multipart/form-data; boundary=boundary --boundary @@ -59,26 +59,26 @@ Content-Type: application/json "password" : "{{auth.API_2_1.password}}", "store_info" : { - "onjung_tag" : "{{auth.API_2_1.onjung_tag}}", - "title" : "{{auth.API_2_1.title}}", - "youtube_url" : "{{auth.API_2_1.youtube_url}}", - "name" : "{{auth.API_2_1.name}}", - "category" : "{{auth.API_2_1.category}}", - "introduction" : "{{auth.API_2_1.introduction}}" + "onjung_tag" : ["{{auth.API_2_1.store_info.onjung_tag[0]}}", "{{auth.API_2_1.store_info.onjung_tag[1]}}"], + "title" : "{{auth.API_2_1.store_info.title}}", + "youtube_url" : "{{auth.API_2_1.store_info.youtube_url}}", + "name" : "{{auth.API_2_1.store_info.name}}", + "category" : "{{auth.API_2_1.store_info.category}}", + "introduction" : "{{auth.API_2_1.store_info.introduction}}" }, "ocr_info" : { - "store_name" : "{{auth.API_2_1.store_name}}", - "address_name" : "{{auth.API_2_1.address_name}}" + "store_name" : "{{auth.API_2_1.ocr_info.store_name}}", + "address_name" : "{{auth.API_2_1.ocr_info.address_name}}" }, "bank_info" : { - "name": "{{auth.API_2_1.bank_name}}", - "account_number" : "{{auth.API_2_1.account_number}}" + "name": "{{auth.API_2_1.bank_info.name}}", + "account_number" : "{{auth.API_2_1.bank_info.account_number}}" } } ### 2.2 탈퇴하기 // @no-log -DELETE {{host_url}}/v1/auth -Authorization : Bearer {{access_token}} \ No newline at end of file +DELETE {{host_url}}/api/v1/auth +Authorization: Bearer {{access_token}} \ No newline at end of file