I have a Thing with a File field. When the Thing is saved, I send the file to a (server side JS) plugin to upload it somewhere. The plugin has context.request()
to send HTTP requests, but how to upload a file with it? And how to even get the file? The plugin receives a URL from the app, not a File object or something.
I could download the file with context.request() and then craft a custom HTTP request with multipart boundaries, but that seems dangerous and error prone. Normally HTTP libs have easier ways to upload files. How about Bubble?