I have a (simple) REST process which required a file parameter (datatype = File). When I try this call in Postman, I get a 400 error (bad request), see below and how the process parameter is set in the REST process:
I consulted with the mastermind behind the Rest plugin, @m.gechev. Currently, it is not possible to POST a file directly to Novulo. If this functionality is required, please create a Novulo Service Request (SR).
In other applications, we use base64 strings to upload files. Your parameters for the process will look like this:
Within the architect process, you can create a file from this base64 string using the FileExtensions plugin’s FileFromBase64Action process. This process will return the file that you can use for the import.
Thanks Aimee, I think we can make it work with the proposed solution, but IMO it’s not a real solution, because it’s a ‘standard’ functionality in REST calls. I’ll create a SR for this!