Search found 1 match

by dejski
09 Aug 2021, 09:45
Forum: Help
Topic: How to save attachment as file using API
Replies: 0
Views: 21739

How to save attachment as file using API

Hello :)
I need to get files from Mantis, and save it on disc.
When I use API with curl:
curl --insecure --location -g --request GET https://server/api/rest/issues/0000050/files/10 -H "Authorization: xxx1kKwubSYejFz5pq8ExtETo6nTnro8" --output pooh-hungry.gif

I get response like below, but is not a ...