View source: R/submit.workflow.json.R
submit.workflow.json | R Documentation |
Submit a JSON file as a PEcAn workflow.
Hits the POST /api/workflows/
API endpoint
submit.workflow.json(server, jsonFile)
server |
Server object obtained using the connect() function |
jsonFile |
JSON file containing the workflow configurations |
Response obtained from the POST /api/workflow/
endpoint
Tezan Sahu
server <- connect(url="http://pecan.localhost:80", username="carya", password="illinois")
res <- submit.workflow.json(server, "api.sipnet.json")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.