I would like to upload files to google storage and retrieve their url, I have an endpoint for this that performs this but I don’t know how I could from within the web application run a request that uses form-data, I wanted to use Embed HTML but I am having trouble passing the response for the logic in the application, I have tried saving to cookie and local storage but unfortunately this is not possible, I get an error: “Error uploading file: Failed to read the ‘localStorage’ property from ‘Window’: Storage is disabled inside ‘data:’ URLs” Anyone have any idea how this can be done?
Depending on use case we have several options:
- If you plan to upload small files to Google Storage, you can upload them via backend. After that craft URL (you should know the URL) and use it directly anywhere.
- If your files are big, than transfer them via backend is not a solution. We are in process of adding pre-signed URL and web uploader to directly upload files from web application.
We will check if we can add multipart/form-data to HTTP Request block globally.