Short explanation/question: I want to create an endpoint in my express.js that uploads a file to the glitch assets, the s3 bucket. Is there a way to accomplish this?
Longer explanation:
I made an app that allows pdfs to be uploaded as assets and then get parsed and displayed on the site. This allows the user who has the pdfs to just upload them to glitch and everything works well. However, I was looking to streamline this by creating a zapier to read attachments from emails and send them to glitch by webhook (I would add some sort of authorization).
With how I have the app setup I can create an endpoint for the webhook to call that would create the parsed data from the pdf but I would also like to store the pdf. Storing the pdf means I can allow it to be downloaded from the site itself and rerun the parsing if needed.
Here is the existing project: https://glitch.com/~la-heid-confirmation-sheets
If this doesn’t work I can change things so that I am storing the pdfs some other way, but it would be way easier if this will work.