AnsweredAssumed Answered

Upload mail attachment via REST

Question asked by MrWhammy MrWhammy on Sep 15, 2015
Latest reply on Sep 18, 2015 by MrWhammy MrWhammy
I'm trying to upload an attachment for a mail

The help file /rest/v10/help says I should do a POST

POST /Mail/attachment

The request should look like this:

I don't understand however how I can provide a file while I am running client-side, I would need to upload the file first somehow.

I found out the website sends multipart/form-data to that endpoint, but I would prefer JSON if that is possible.