Uploading file to Marketo, via Drupal site
I'm trying to see if there's a way to streamline one of our internal processes. At it's simplest, we have a Drupal 8 page, where we add a 'content type' item - for example a resource. What I'd like is that, when a user uploads a file using the Drupal file field, it passes that file to the Marketo images/resources-x folder.
I imagine it's some mix of API, XML and Base64... but maybe somebody has gone down this road and can give me suggestions or a how-to... or knows an easier way I'm not aware of.