title: curl: (3) URL using bad/illegal format or missing URL (but curl actually executes the POST)
body: <p>My end goal is to run this command in .gitlab-ci.yml.</p>
  <p>I'm testing it in both bash shell and in a gitlab-ci.yml process at the moment.</p>
  <p>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.</p>
  <p>The error message:
  curl: (3) URL using bad/illegal format or missing URL</p>
  <p><code>curl -X PUT &quot;http://AAA.BBB.CC.DDD:8443/api/v4/schedules/84ce2778-3496-4933-a3c2-f07f64637c92/runNow?api_key=0WhA6P1j70Kta2fW&quot; -d --header 'Accept:application/json' --header 'AccessKey:0WhA6P1j70Kta2fW'</code></p>
  <p>I tried with single quotes around the URL and received the same error message.</p>
  <p>Suggestions?</p>