묻고 답해요
156만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[2025 신규] 어서와, Fast API는 처음이지?
fastapi와 dash 함께 사용하는 경우 문의
강의에서는 fastapi 앱 서버, dash 앱서버 각각 실행을 한 상태에서 dash에서 request를 수행하셨는데dataframe을 사용하지 않고 fastai 결과 dictionary 를 받아서 dashboard를 그리는데 유리한 부분이 있을까요? (속도 측면?)fastapi와 dash를 같이 사용할 때 일반적인 방법이나 추천하는 방법이 따로 있을까요?
-
해결됨[2025 신규] 어서와, Fast API는 처음이지?
실행을 했음에도 연결이 안되는 경우는 어떻게 해야할까요
(base) PS C:\Users\JaeJun> curl http://127.0.0.1:8000 StatusCode : 200 StatusDescription : OK Content : {"Hello":"World"} RawContent : HTTP/1.1 200 OK Content-Length: 17 Content-Type: application/json Date: Sun, 28 Apr 2024 07:59:31 GMT Server: uvicorn {"Hello":"World"} Forms : {} Headers : {[Content-Length, 17], [Content-Type, application/json], [Date, Sun, 28 Apr 2024 07:59:31 GMT], [Server, uvicorn]} Images : {} InputFields : {} Links : {} ParsedHtml : mshtml.HTMLDocumentClass RawContentLength : 17powershell을 통해 호출할 경우 위와 같이 GET이 정상적으로 되지만웹브라우저를 통해서 접근할 경우에는Chrome이나 Edge 모두 연결할 수 없다고 합니다..인바운드,아웃바운드 모두 8000을 혹시 몰라 열어둔 상태이며,8000이 아닌 8000-8010까지 포트를 변경해봤는데 안되고 있습니다. 어떻게 해야할까요