# Decision Executor REST not working

**URL:** https://forum.flowable.org/t/decision-executor-rest-not-working/1539
**Category:** Uncategorized
**Created:** [January 29, 2018, 10:05pm UTC](https://forum.flowable.org/t/decision-executor-rest-not-working/1539 "2018-01-29T22:05:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![biyat](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@biyat](https://forum.flowable.org/u/biyat)
#### Post date: [January 29, 2018, 10:05pm UTC](https://forum.flowable.org/t/decision-executor-rest-not-working/1539/1 "2018-01-29T22:05:19Z")

</div>

Cannot execute decision table using Flowable REST. I could deploy it using REST, but when I try to send a POST request to “[http://localhost:8080/flowable-rest/dmn-api/dmn-rule/decision-executor](http://localhost:8080/flowable-rest/dmn-api/dmn-rule/decision-executor)” using below data stored in a file named “input.json” It does not work. I tried sending raw body, same issue

{  
“decisionKey”: “intro”,  
“inputVariables”: [  
{  
“name” : “name”,  
“value” : “flowable”,  
“type” : “string”  
}  
]  
}

---

<div class="post-metadata">

### Author: ![yvo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/yvo/32/2231_2.png) [@yvo](https://forum.flowable.org/u/yvo)
#### Post date: [January 30, 2018, 8:54am UTC](https://forum.flowable.org/t/decision-executor-rest-not-working/1539/2 "2018-01-30T08:54:07Z")

</div>

Hi,

Do you have some additional info? F.e. the response from the request above?  
And perhaps the used curl command?

Regards,

Yvo

---

<div class="post-metadata">

### Author: ![biyat](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@biyat](https://forum.flowable.org/u/biyat)
#### Post date: [January 30, 2018, 2:34pm UTC](https://forum.flowable.org/t/decision-executor-rest-not-working/1539/3 "2018-01-30T14:34:15Z")

</div>

Tried in Postman tool first with by setting Body -\> form-data key=file and value= and tried submitting, it did not work.

Also tried CURL,  
curl --user kermit:kermit -H “Content-Type: application/json” -X POST -d ‘{“decisionKey”: “intro”,“inputVariables”: [{“name” : “name”,“value” : “flowable”,“type” : “string”}]}’ [http://localhost:8080/flowable-rest/dmn-api/dmn-rule/decision-executor](http://localhost:8080/flowable-rest/dmn-api/dmn-rule/decision-executor)

Am I missing anything here ?

---

<div class="post-metadata">

### Author: ![yvo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/yvo/32/2231_2.png) [@yvo](https://forum.flowable.org/u/yvo)
#### Post date: [January 30, 2018, 2:59pm UTC](https://forum.flowable.org/t/decision-executor-rest-not-working/1539/4 "2018-01-30T14:59:49Z")

</div>

Hi .

See my reply here; [How to execute a DMN through the REST API?](https://forum.flowable.org/t/how-to-execute-a-dmn-through-the-rest-api/1537/5?u=yvo)

The correct endpoint should be; POST dmn-rule/execute

Regards,

Yvo
