Skip to content

Commit

Permalink
fix : url 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sycuuui committed Apr 15, 2024
1 parent f661b15 commit 931cf59
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public S3ObjectInputStream addApply(@RequestParam String imageUrl){
return file;
}

@PostMapping("/falsk")
@PostMapping("/flask")
public ResponseEntity<Resource> sendToFlask(@RequestParam String imageUrl) throws IOException {
return videoService.sendToFlask(imageUrl);
}
Expand All @@ -44,16 +44,16 @@ public ResponseEntity<Resource> sendToFlask(@RequestParam String imageUrl) throw
// return ApplicationResponse.ok(videoService.createFolder());
// }

@PostMapping("/falsk-target")
@PostMapping("/flask-target")
public ResponseEntity<Resource> sendToFlaskWithImages(@RequestParam String folderName, String videoName) throws IOException {
return videoService.sendToFlaskWithVideo(folderName,videoName);
}

@PostMapping("/falsk-mosaic")
@PostMapping("/flask-mosaic")
public ApplicationResponse<VideoRes> sendToFlaskWithImagesAndVideo(@RequestParam String folderName,@RequestBody VideoReq videoReq) throws IOException {
return ApplicationResponse.ok(videoService.sendToFlaskWithImagesAndVideo(folderName,videoReq));
}
@PostMapping("/test-falsk-mosaic")
@PostMapping("/test-flask-mosaic")
public ResponseEntity<Resource> sendToFlaskWithImagesAndVideoTest(@RequestParam String folderName,@RequestBody VideoReq videoReq) throws IOException {
return videoService.sendToFlaskWithImagesAndVideoTest(folderName,videoReq);
}
Expand Down

0 comments on commit 931cf59

Please sign in to comment.