I’ve been asked to create an API that takes a file as input and places that file in a directory on a server. This is to take away the need for an app to interact with the folder directly.
I’ve built APIs before (using Plumber in R) and can deal with string inputs - I’m just stumped on taking a file as input parameter. None of the plumber documentation explains how to do this. Can this even be done ? Is there a way to do this in Python ?