Skip to content

Commit

Permalink
refactor: presigned-url-put을 PostMapping으로 변경 #33
Browse files Browse the repository at this point in the history
  • Loading branch information
jjt4515 committed Oct 12, 2024
1 parent 9233f32 commit f2cd491
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f2cd491

Please sign in to comment.