My end goal is to run this command in .gitlab-ci.yml.
I'm testing it in both bash shell and in a gitlab-ci.yml process at the moment.
The process started by the api PUT call is started and runs successfully but because the curl returns with an error code the gitlab-ci process exits with an error immediately.
The error message: curl: (3) URL using bad/illegal format or missing URL
curl -X PUT "http://AAA.BBB.CC.DDD:8443/api/v4/schedules/84ce2778-3496-4933-a3c2-f07f64637c92/runNow?api_key=0WhA6P1j70Kta2fW" -d --header 'Accept:application/json' --header 'AccessKey:0WhA6P1j70Kta2fW'
I tried with single quotes around the URL and received the same error message.
Suggestions?