From f2cd491cf40d59c33bd88e8a60162e93d3838fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EC=A7=84=ED=83=9D?= <87135698+jjt4515@users.noreply.github.com> Date: Sat, 12 Oct 2024 22:32:35 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20presigned-url-put=EC=9D=84=20PostMa?= =?UTF-8?q?pping=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD=20#33?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/poomasi/global/config/s3/S3PresignedUrlController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/poomasi/global/config/s3/S3PresignedUrlController.java b/src/main/java/poomasi/global/config/s3/S3PresignedUrlController.java index ede4e03..fbb0b36 100644 --- a/src/main/java/poomasi/global/config/s3/S3PresignedUrlController.java +++ b/src/main/java/poomasi/global/config/s3/S3PresignedUrlController.java @@ -21,7 +21,7 @@ public ResponseEntity presignedUrlGet(@RequestParam String keyname) { return ResponseEntity.ok(presignedGetUrl); } - @GetMapping("/presigned-url-put") + @PostMapping("/presigned-url-put") public ResponseEntity presignedUrlPut(@RequestBody PresignedUrlPutRequest request) { String presignedPutUrl = s3PresignedUrlService.createPresignedPutUrl(bucket, request.keyPrefix(), request.metadata()); return ResponseEntity.ok(presignedPutUrl);