Closed adamstruck closed 7 years ago
Having body: "*" in the service definition for the cancel endpoint had unintended consequences.
body: "*"
This PR allows you to cancel a task via:
curl -X POST http://localhost:8000/v1/tasks/{id}:cancel
rather than
curl -X -d '{}' POST http://localhost:8000/v1/tasks/{id}:cancel
as was required by the original definition.
Having
body: "*"
in the service definition for the cancel endpoint had unintended consequences.This PR allows you to cancel a task via:
curl -X POST http://localhost:8000/v1/tasks/{id}:cancel
rather than
curl -X -d '{}' POST http://localhost:8000/v1/tasks/{id}:cancel
as was required by the original definition.