Page 1 of 1

Rest Api - Create issue with file attachment

Posted: 05 Feb 2021, 14:23
by Brandher
Hi there,

I am just developing a .Net application to generate tickets from eMails.
It will read eMails with Exchange EWS API and generate Tickets in Mantis.

It took me quite a few hours to find out, that the files.contect property in the json object which is needed to create an issue with attachment (like mentioned there: https://documenter.getpostman.com/view/ ... c11f7501f4 ) has to be base64 encoded.

It was not obvious for me and maybe it should be mentioned somewhere in the documentation to help other people, who have issues with that.

If somebody needs assistance, you can leave a reply here.
Thx for your attention.