nativeBasic
2 years agoNew Contributor III
Rest Post multipart/form-data
Hello,
I am trying to upload a file to a REST POST multipart/form-data web service without having to initially create the file onto the SLDB.
The web service works fine when payload.xml has already been created onto the SLDB.
The web service wants a multipart/form-data POST.
When I have tried mapping $content, I seem to be missing the filename attribute in the content-disposition.
Can anyone suggest a way to achieve this?