Skip to content

Upload PDF Component to Azure Blob #2513

Answered by masenf
viswanadula8828 asked this question in Q&A
Discussion options

You must be logged in to vote

have you played with the rx.upload component as described here https://reflex.dev/docs/library/forms/upload/?

You can get the raw bytes of the file in the event handler and then send that off to the API directly if it accepts bytes. If it only accepts a URL, then i guess you will have to upload it somewhere.

From the upload event handler though you can get access to the user information recorded in the state (assuming that you're tracking users already in some way)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@viswanadula8828
Comment options

@masenf
Comment options

Answer selected by viswanadula8828
@viswanadula8828
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants