Skip to content

Commit

Permalink
feat(apitest.jsx): add new created api route
Browse files Browse the repository at this point in the history
  • Loading branch information
junglesub committed Aug 1, 2024
1 parent 1cc2a26 commit db163d7
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion src/pages/ApiTest.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@ const presets = [
description: "유저 닉네임, 이메일, 이름 get",
body: {},
},
{
method: "GET",
endpoint: "/user/getGroups",
description: "내가 속해있는 그룹 조회",
body: {},
},
{
method: "GET",
endpoint: "/user/getGroupsById/{유저ID}",
description: "유저가 속해있는 그룹 조회",
body: {},
},
{
method: "POST",
endpoint: "/userDetail/add",
Expand Down Expand Up @@ -102,9 +114,31 @@ const presets = [
{
method: "GET",
endpoint: "/team/{groupId}",
description: "그룹정보 불러오기",
description: "그룹정보 불러오기 (그룹아이디)",
body: {},
},
{
method: "POST",
endpoint: "/team/getByCode",
description: "그룹정보 불러오기 (그룹코드)",
body: {
teamCode: "H5AP",
},
},
{
method: "GET",
endpoint: "/team/allGroups",
description: "모든 그룹 정보 불러오기",
body: {},
},
{
method: "POST",
endpoint: "/team/UsersByCode",
description: "그룹 코드로 유저 정보 조회",
body: {
teamCode: "H5AP",
},
},
];

const requestColor = {
Expand Down

0 comments on commit db163d7

Please sign in to comment.