Forum Discussion
DougS
12 years agoKhoros Alumni (Retired)
I believe the logic allows any parameter name for files. As long as the API request to post a message is a multipart/form-data request, it will take whatever files are included and add them as attachments.
-Doug
Sign in to react to this post
HaidongG
12 years agoLithium Alumni (Retired)
yes, Doug is right. any file name will do.
I have just tested with
builder.addPart("message.uploadxxxxxxxxx", new FileBody(file));
and my file got uploaded via REST too.
Sign in to react to this post
- mor_et11 years agoMentor
Any clue how this would be done in .NET?
Sign in to react to this post