Download a month report with curl (All issues and projects)

Added by Alen Badrajan over 1 year ago

Is there any way to get a general report for the last month by curl?

For example:

curl -o redmine.csv https://redmine.somecompany.codes/time_entries/report.csv?accessType=DOWNLOAD \
-H 'f%5B%5D=spent_on&f%5B%5D=&op%5Bspent_on%5D=lm' \
-H 'user-agent':'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36' \
-H 'X-Redmine-API-Key:key'