Skip to content
Snippets Groups Projects
Commit 45a443bb authored by Jedrzej Rybicki's avatar Jedrzej Rybicki
Browse files

Update apirequests.adoc

parent c5b44a83
No related branches found
No related tags found
No related merge requests found
Pipeline #83664 passed
...@@ -40,14 +40,14 @@ includes one 100MB file. The target parameter is optional with default value +/t ...@@ -40,14 +40,14 @@ includes one 100MB file. The target parameter is optional with default value +/t
---- ----
curl -X POST -u USER:PASS -H "Content-Type: application/json" \ curl -X POST -u USER:PASS -H "Content-Type: application/json" \
--data '{"conf": {"oid": ID}, "target": PATH}' \ --data '{"conf": {"oid": ID, "target": PATH}}' \
$DLS/dags/taskflow_example/dagRuns $DLS/dags/taskflow_example/dagRuns
---- ----
If you want to use your own connection ('myown_con'): If you want to use your own connection ('myown_con'):
---- ----
curl -X POST -u USER:PASS -H "Content-Type: application/json" \ curl -X POST -u USER:PASS -H "Content-Type: application/json" \
--data '{"conf": {"oid": ID}, "target": PATH, "connection": "myown_con"}' \ --data '{"conf": {"oid": ID, "target": PATH, "connection": "myown_con"}}' \
$DLS/dags/taskflow_example/dagRuns $DLS/dags/taskflow_example/dagRuns
---- ----
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment