Skip to content

Files

Latest commit

Jan 20, 2019
b528b70 · Jan 20, 2019

History

History
20 lines (13 loc) · 521 Bytes

rest-api.md

File metadata and controls

20 lines (13 loc) · 521 Bytes

REST API

列出所有任务

curl http://localhost:8080/runtime/tasks

列出所有流程

curl  http://localhost:8080/repository/process-definitions

创建新 hireProcess 流程

curl  -H "Content-Type: application/json" -d '{"processDefinitionKey":"hireProcess", "variables": [ {"name":"applicantName", "value":"waytt"}, {"name":"email", "value":"waytt@westworld.com"}, {"name":"phoneNumber", "value":"13312344321"} ]}' http://localhost:8080/runtime/process-instances