P
P
pawelfcdd2019-09-07 14:53:01
GitLab
pawelfcdd, 2019-09-07 14:53:01

How to upload a base64 encoded image for a Gitlab issue?

Good afternoon,
I have a Mantis bug tracker and a project on Gitlab. In the mantis, people create tasks (issues), which are then collected by cron and imported into Gitlab.
Everything works fine except for uploading attachments from mantis to gitlab.
I read in the gitlab documentation that they have a POST method for uploading images
` https://docs.gitlab.com/ce/api/projects.html#uploa...
However, in their example they indicate that the file should be already loaded into the file system. The question is - can I send a base64 encoded file to gitlab with cURL, or do I still need to send a file that is already physically on disk? Perhaps someone faced such a problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question