@protojordie wrote:
In our app, we have a
dcc.Upload
component in the initial layout that allows users to drop a file to be processed. However, we’ve been asked to expose an endpoint that would allow them to pass this file through typical request machinery (likely, a POST call) and we would then present the updated app layout as if they had uploaded this file via the above component.Is this possible?
I’ve seen other posts on the forum that are concerned with providing endpoints that when hit would cause an update in an application component, like a
Graph
adding new data received from a POST. This attempt differs in that it’s only needed to provide some initial data for how to initialize the application. I just started looking intoflask-restful
but haven’t been able to piece things together, though I feel like there’s a solution there.Any help is appreciated.
Posts: 1
Participants: 1