React : How to handle response StreamingResponse(io.BytesIO(contents), media_type='image/png') from FastAPI

前端 未结 0 1173
轮回少年
轮回少年 2021-02-13 00:47

I create a API by use FastAPI and return like this when call the API in the Postman.

Result from API

code from FastAPI

return StreamingResponse(io.B         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题