Skip to content

Commit

Permalink
[#2] API Http 테스트 수정 (Bearer + JWT)
Browse files Browse the repository at this point in the history
  • Loading branch information
jun108059 committed Oct 17, 2021
1 parent 004268f commit 7d84066
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Content-Type: application/json
< addHabit.json

### 회원 정보 조회
GET {{baseUrl}}/api/v1/member/{{mem-idx}}

GET {{baseUrl}}/api/v1/member
Authorization: Bearer {{auth_token}}

### 습관 삭제 API
DELETE {{baseUrl}}/api/v1/habit/{{mem-idx}}/{{habit-idx}}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"local": {
"baseUrl": "http://localhost:9093",
"mem-idx": 1,
"habit-idx": 1
"habit-idx": 1,
"auth_token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJqdW4xMDgwNTlAbmF2ZXIuY29tIiwicm9sZSI6IlVTRVIiLCJpYXQiOjE2MzQ1NDQ4MDUsImV4cCI6MTYzNDU0NjYwNX0.7aVLlYpBqa3jzO69-NCoaMdpKyrhzsutyDcVoj-F1Fs"
},
"dev": {

Expand Down

0 comments on commit 7d84066

Please sign in to comment.