Hi
I am trying to deploy a resource (dmn) from to the rest api running on my local machine (jboss distro 7.4.0-SNAPSHOT).
my Dir
/resources
- myDecision.dmn
I try:
curl -H "Content-Type: application/json" -X POST -d '{"deployment-name":"checkOrder"}' --data @myDecision.dmn
http://localhost:8080/engine-rest/engine/default/deployment/create But get:
405 - The specified HTTP method is not allowed for the requested resource.
Can anyone provide a small example, how to use post with xml files from the cli?
Thank you
Jan