A POST request from postman to http://host:8080/api/experimental/dags/test_flow/dag_runs gives "400 Bad Request: The browser (or proxy) sent a request that this server could not understand." when it try to get_json from from request. ie at line data = request.get_json(force=True)
What should be the inputs to this API call ..?
Had the same issue, solved it by POSTing an empty JSON
curl -X POST \
http://localhost:8080/api/experimental/dags/<DAG_ID>/dag_runs \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-d '{}'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With