Skip to content

Commit

Permalink
πŸ“ƒDocs/#22: AuthControllerHttpRequest μ˜€νƒ€ μˆ˜μ • (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
dongkyeomjang authored Nov 18, 2024
1 parent d56c4b7 commit 8443750
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions http/auth/AuthControllerHttpRequest.http
Original file line number Diff line number Diff line change
@@ -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

{
Expand All @@ -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

{
Expand All @@ -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
Expand All @@ -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}}
DELETE {{host_url}}/api/v1/auth
Authorization: Bearer {{access_token}}

0 comments on commit 8443750

Please sign in to comment.