I want to integreate a service to my Workflow Cloud with a file upload.
I have defined the parameters according to the documentation.
Like this:
@DataOneDave I think this issue might be the OpenAPI version that you're working with. NWC currently supports OpenAPI 2 (though work is being done to support OpenAPI 3), so it looks like you would want to use a slightly different format: https://swagger.io/docs/specification/2-0/file-upload/
Hope that helps!
Thanks for the quick reply
you mean octet-stream is not supported by Swagger 2.0 ?
I followed this documentation, so it should work, right?
https://help.nintex.com/en-US/xtensions/04_Reference/REF_OpenAPISwipeFile.htm#File_handling
I have already tried it with multipart/form-data. Unfortunately the service does not accept this type.
@DataOneDave interesting. I'll need to circle with one of my devs to check that out, as I was under the impression that we didn't support octet-stream due to the Swagger version, but the fact that it's in the help files is making me question my sanity a little :?
Will let you know as soon as I have a confirmation one way or the other.