title: Run a dag with Airflow via curl and Airflow's experimental rest api
body: <p>I'm trying to execute a dag within airflow by using a curl command. I am trying to do this via the Experimental Rest API documented here:</p>
  
  <p><a href="https://airflow.apache.org/api.html" rel="nofollow noreferrer">https://airflow.apache.org/api.html</a></p>
  
  <p>Here is my curl command that I am trying to execute:</p>
  
  <pre><code>curl -X POST -v -u user@somedoman.com:somepassword -d ''  'https://airflow.somedomain.com/api/experimental/dags/my_dag_id/dag_runs'
  </code></pre>
  
  <p>When I run this command, I get a <em>400 Bad Request -- The browser (or proxy) sent a request that this server could not understand</em></p>
  
  <p>The call I am attempting appears to conform with the api documentation, so I am confused on what I'm doing wrong.  </p>