-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
65 changed files
with
1,729 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,4 +61,4 @@ out/ | |
logs | ||
.DS_STORE | ||
|
||
boomerang/src/main/http/product/http-client.private.env.json | ||
http-client.private.env.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/dev/stdin: ASCII text | ||
Caches: cannot open `Caches' (No such file or directory) | ||
/dev/stdin: very short file (no magic) | ||
and: cannot open `and' (No such file or directory) | ||
Restart: cannot open `Restart' (No such file or directory) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,78 @@ | ||
### get best boards | ||
GET http://localhost:8080/api/v1/board/best? | ||
size=5&board_type=ENTIRE&content_length=10 | ||
Cookie: Authorization={{Authorization}} | ||
Authorization: {{Authorization}} | ||
|
||
|
||
### get boards | ||
GET http://localhost:8080/api/v1/board? | ||
page=0&size=1&sort_direction=DESC&sort_by=id&board_type=ENTIRE&content_length=10 | ||
Cookie: Authorization={{Authorization}} | ||
page=0&size=10&sort_direction=DESC&sort_by=id&board_type=ENTIRE&content_length=10 | ||
Authorization: {{Authorization}} | ||
|
||
### get board | ||
GET http://localhost:8080/api/v1/board/1 | ||
|
||
### create board | ||
POST http://localhost:8080/api/v1/board | ||
Content-Type: multipart/form-data; boundary=boundary | ||
Authorization: {{Authorization}} | ||
|
||
--boundary | ||
Content-Disposition: form-data; name="data"; | ||
Content-Type: application/json | ||
Cookie: Authorization={{Authorization}} | ||
|
||
{ | ||
"title": "Example Title", | ||
"content": "This is an example content for the board.", | ||
"content": "content <img src=? /> <img src=? />", | ||
"board_type": "ENTIRE", | ||
"location": "BUSAN", | ||
"anonymous_status": "PRIVATE" | ||
"location": "BUSAN" | ||
} | ||
|
||
--boundary | ||
Content-Disposition: form-data; name="images"; filename="test1.png" | ||
Content-Type: image/png | ||
|
||
< /Users/jaebin/Desktop/test1.png | ||
|
||
--boundary | ||
Content-Disposition: form-data; name="images"; filename="test2.png" | ||
Content-Type: image/png | ||
|
||
< /Users/jaebin/Desktop/test2.png | ||
|
||
--boundary-- | ||
|
||
|
||
### update board | ||
PUT http://localhost:8080/api/v1/board/1 | ||
PUT http://localhost:8080/api/v1/board/9 | ||
Content-Type: multipart/form-data; boundary=boundary | ||
Authorization: {{Authorization}} | ||
|
||
--boundary | ||
Content-Disposition: form-data; name="data"; | ||
Content-Type: application/json | ||
Cookie: Authorization={{Authorization}} | ||
|
||
{ | ||
"title": "Example Title", | ||
"content": "a.", | ||
"content": "content <img src=? /> <img src=? />", | ||
"board_type": "ENTIRE", | ||
"location": "BUSAN", | ||
"anonymous_status": "PRIVATE" | ||
"location": "BUSAN" | ||
} | ||
|
||
--boundary | ||
Content-Disposition: form-data; name="images"; filename="test1.png" | ||
Content-Type: image/png | ||
|
||
< /Users/jaebin/Desktop/test1.png | ||
|
||
--boundary | ||
Content-Disposition: form-data; name="images"; filename="test2.png" | ||
Content-Type: image/png | ||
|
||
< /Users/jaebin/Desktop/test2.png | ||
|
||
--boundary-- | ||
|
||
### delete board | ||
DELETE http://localhost:8080/api/v1/board/1 | ||
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxIiwiZW1haWwiOiJrYWthbzM3Mjk0MzgwNTIiLCJpYXQiOjE3Mjc4NjE2NjUsImV4cCI6MTcyNzg2NDA2NX0.Lc3gVOdsj_D3Zn_y6bvMRipYMCr_IenbLm1XVPi8Rr4 | ||
Authorization: {{Authorization}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
### http://localhost:8080/api/v1/auth/login 로 access-token 받아오기 | ||
|
||
### 로그인 | ||
POST http://localhost:8080/api/v1/auth/login/kakao | ||
Content-Type: application/json | ||
|
||
{ | ||
"access_token":"qBoATpfGF3gvId2MBWoCm-yJVsrqbaeQAAAAAQoqJQ4AAAGS9mr3NeiSikwhugC4" | ||
} | ||
|
||
|
||
### set nickname | ||
PUT http://localhost:8080/api/v1/member/nickname | ||
Content-Type: application/json | ||
Authorization: {{Authorization}} | ||
|
||
{ | ||
"new_nickname":"aaa" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.