submit.workflow.xml.Rd
Submit an XML file as a PEcAn workflow.
Hits the POST /api/workflows/
API endpoint
submit.workflow.xml(server, xmlFile)
Server object obtained using the connect() function
XML file containing the workflow configurations
Response obtained from the POST /api/workflow/
endpoint
server <- connect(url="http://pecan.localhost:80", username="carya", password="illinois")
res <- submit.workflow.xml(server, "api.sipnet.xml")
#> Error in path_to_connection(x): api.sipnet.xml does not exist in current working directory
#> (/private/var/folders/h1/8hndypj13nsbj5pn4xsnv1tm0000gn/T/Rtmpl4JfKW/file143a498562e6/reference).