1. Home
  2. Docs
  3. Getting started
  4. Usage
  5. Add a task

Add a task

Below is an example of a Dopplerfile:

{
  "name": "Test Task",
  "actions": [
    {
      "@type": "PrintAction",
      "message": "This is an example task."
    }
  ]
}

 

This file is used to add tasks to the system. You can do that by sending a request to the REST API:

curl -X POST http://localhost:8090/task -H "Content-Type: application/json" -d @add_task.json
Was this article helpful to you? Yes No

How can we help?