starlette 관련 문법만 하더라도
async def 함수(request):
req = await request.json()
....
requests.post('http://'주소', data=json.dumps(data))
같이 request 기다리다가 오면 처리해서 어느 주소로 post 하는게 있는데
Fastapi는 이런거 어떻게 구현함? ㅠㅠ 좀 이상행 ㅠ
starlette 관련 문법만 하더라도
async def 함수(request):
req = await request.json()
....
requests.post('http://'주소', data=json.dumps(data))
같이 request 기다리다가 오면 처리해서 어느 주소로 post 하는게 있는데
Fastapi는 이런거 어떻게 구현함? ㅠㅠ 좀 이상행 ㅠ
댓글 0