I want to import a job.xml to Rundeck via curl.
Trying something like this:
curl -v -u admin:admin -F xmlBatch=@C:\job.xml http://XXXXXXXXXX/api/1/jobs/import
I get the 302 response and that's all
Can somebody help me out with a working sample or help to create/modify such one