diff --git a/http-client/http-client.env.json b/http-client/http-client.env.json index 4ecc77e..cddb90d 100644 --- a/http-client/http-client.env.json +++ b/http-client/http-client.env.json @@ -1,5 +1,6 @@ { "local": { - "host": "http://localhost:8080" + "appHost": "http://localhost:8000", + "wsHost": "http://localhost:8001" } } \ No newline at end of file diff --git a/http-client/http/auth.http b/http-client/http/auth.http index 51f7f95..dd816f3 100644 --- a/http-client/http/auth.http +++ b/http-client/http/auth.http @@ -3,7 +3,7 @@ @password = 1234 # @no-cookie-jar -POST {{host}}/v1/login +POST {{appHost}}/v1/login Authorization: Bearer {{authToken}} // 토큰이 있을 경우 필터에 걸리는지 확인하기 위한 조치 Content-Type: application/json @@ -17,7 +17,7 @@ Content-Type: application/json %} ### PING -GET {{host}}/ping +GET {{appHost}}/ping diff --git a/http-client/http/code.http b/http-client/http/code.http index b158a48..14aba1a 100644 --- a/http-client/http/code.http +++ b/http-client/http/code.http @@ -1,20 +1,20 @@ ### 전체 코드 조회 - 코드그룹-코드-언어 -GET {{host}}/v1/com/code/all +GET {{appHost}}/v1/com/code/all ?siteCd=KAC&langDivCd=ko_KR Authorization: Bearer {{authToken}} ### 그룹 목록 조회 - 코드 그룹만 -GET {{host}}/v1/com/code/group +GET {{appHost}}/v1/com/code/group Authorization: Bearer {{authToken}} ### 코드 목록 조회 - 코드 - 언어 -GET {{host}}/v1/com/code/code +GET {{appHost}}/v1/com/code/code ?groupCd=TEST1&langDivCd=ko_KR ### 코드 그룹 등록 -POST {{host}}/v1/com/code/group +POST {{appHost}}/v1/com/code/group Content-Type: application/json { @@ -25,7 +25,7 @@ Content-Type: application/json } ### 코드 등록 -POST {{host}}/v1/com/code/code +POST {{appHost}}/v1/com/code/code Content-Type: application/json { @@ -38,7 +38,7 @@ Content-Type: application/json } ### 언어 등록 -POST {{host}}/v1/com/code/lang +POST {{appHost}}/v1/com/code/lang Content-Type: application/json { @@ -50,7 +50,7 @@ Content-Type: application/json } ### 코드 그룹 수정 -PUT {{host}}/v1/com/code/group +PUT {{appHost}}/v1/com/code/group Content-Type: application/json { @@ -61,7 +61,7 @@ Content-Type: application/json } ### 코드 수정 -PUT {{host}}/v1/com/code/code +PUT {{appHost}}/v1/com/code/code Content-Type: application/json { @@ -74,7 +74,7 @@ Content-Type: application/json } ### 언어 수정 -PUT {{host}}/v1/com/code/lang +PUT {{appHost}}/v1/com/code/lang Content-Type: application/json { @@ -87,14 +87,14 @@ Content-Type: application/json ### 코드 그룹 삭제 -DELETE {{host}}/v1/com/code/group +DELETE {{appHost}}/v1/com/code/group ?groupCd=NEW_GROUP001 ### 코드 삭제 -DELETE {{host}}/v1/com/code/code +DELETE {{appHost}}/v1/com/code/code ?groupCd=NEW_GROUP001&cdId=NEW_CODE001 ### 언어 삭제 -DELETE {{host}}/v1/com/code/lang +DELETE {{appHost}}/v1/com/code/lang ?groupCd=NEW_GROUP001&cdId=NEW_CODE001&langDivCd=ko_KR diff --git a/http-client/http/test.http b/http-client/http/test.http index 4a22dee..8ff7dc3 100644 --- a/http-client/http/test.http +++ b/http-client/http/test.http @@ -1,3 +1,3 @@ ### session helper test -GET {{host}}/test/session/auth +GET {{appHost}}/test/session/auth #Authorization: Bearer {{authToken}} \ No newline at end of file diff --git a/http-client/http/ws.http b/http-client/http/ws.http index f08f0cc..08f7141 100644 --- a/http-client/http/ws.http +++ b/http-client/http/ws.http @@ -1,13 +1,13 @@ ### 신규 websocket -WEBSOCKET ws://localhost:8100/ws +WEBSOCKET {{wsHost}}/ws ### 신규 websocket -WEBSOCKET ws://localhost:8100/ws +WEBSOCKET {{wsHost}}/ws ### 신규 websocket -WEBSOCKET ws://localhost:8100/ws +WEBSOCKET {{wsHost}}/ws ### 신규 websocket -WEBSOCKET ws://localhost:8100/ws +WEBSOCKET {{wsHost}}/ws ### 신규 websocket -WEBSOCKET ws://localhost:8100/ws +WEBSOCKET {{wsHost}}/ws ### 기존 websocket