Skip to content

Commit

Permalink
fix : flask url
Browse files Browse the repository at this point in the history
  • Loading branch information
sycuuui committed Apr 17, 2024
1 parent 9264ba9 commit 78d15c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public String getFilename() {

// Flask 서버로 요청 보내기
RestTemplate restTemplate = new RestTemplate();
String url = "http://127.0.0.0:5000/test"; // Flask 서버 URL
String url = "http://127.0.0.0:5000/image"; // Flask 서버 URL
ResponseEntity<byte[]> response = restTemplate.postForEntity(url, requestEntity, byte[].class);

// Flask에서 반환된 파일을 다시 클라이언트에게 반환
Expand Down

0 comments on commit 78d15c9

Please sign in to comment.