Skip to content

Commit

Permalink
Merge pull request #25 from oven-2023/recommendation
Browse files Browse the repository at this point in the history
chanage url
  • Loading branch information
see101702 authored Oct 20, 2023
2 parents efd0369 + 5ab4c33 commit 7c889ef
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class SpringToFlaskService {
public String springToFlask(User user) {
log.info(String.valueOf(user));

String flaskApiUrl = "http://127.0.0.1:4000/spring";
String flaskApiUrl = "http://flask:6000/spring";
String userId = String.valueOf(user.getId());

//HTTP 요청 헤더 설정
Expand All @@ -55,7 +55,6 @@ public String springToFlask(User user) {
log.info("플라스크 서버 응답: " + response);
return response;
} else {
// System.out.println("HTTP 요청 실패 " + responseEntity.getStatusCodeValue());
log.info("HTTP 요청 실패 " + responseEntity.getStatusCodeValue());
return responseEntity.getStatusCode().toString();
}
Expand Down

0 comments on commit 7c889ef

Please sign in to comment.