How to create Airflow Dag using Rest API from external application

how to create Airflow Dag using Rest API from external application