From 8ceaa6ef533df244d1e119fbf09bfef29a787cde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=98=84=EC=84=B1=ED=95=84?= Date: Tue, 16 May 2023 19:45:38 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=EB=A6=84=20=EB=B3=80=EA=B2=BD=20?= =?UTF-8?q?=EA=B5=AC=ED=98=84=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/ApiRequestMgmtController.java | 2 +- .../templates/page/apiCollection.html | 28 +++++-- .../resources/templates/page/apiTester.html | 78 ++++++++++++++++--- 3 files changed, 91 insertions(+), 17 deletions(-) diff --git a/src/main/java/com/eactive/httpmockserver/client/controller/ApiRequestMgmtController.java b/src/main/java/com/eactive/httpmockserver/client/controller/ApiRequestMgmtController.java index 999f71d..2b9de48 100644 --- a/src/main/java/com/eactive/httpmockserver/client/controller/ApiRequestMgmtController.java +++ b/src/main/java/com/eactive/httpmockserver/client/controller/ApiRequestMgmtController.java @@ -42,7 +42,7 @@ public class ApiRequestMgmtController { } - @PutMapping("/mgmt/collections/update.do") + @PostMapping("/mgmt/collections/update.do") public ResponseEntity updateApiCollection(@RequestBody ApiCollectionDTO dto) { ApiCollection updated = apiRequestMapper.map(dto); apiRequestMgmtService.updateApiCollection(updated.getId(), updated); diff --git a/src/main/resources/templates/page/apiCollection.html b/src/main/resources/templates/page/apiCollection.html index 16c0b70..7ce0fa9 100644 --- a/src/main/resources/templates/page/apiCollection.html +++ b/src/main/resources/templates/page/apiCollection.html @@ -7,13 +7,10 @@