# Use Flowable REST for app publishing in Flowable Modeler

**URL:** <https://forum.flowable.org/t/use-flowable-rest-for-app-publishing-in-flowable-modeler/1005>\
**Category:** Flowable Engine\
**Created:** [September 27, 2017, 12:16pm UTC](https://forum.flowable.org/t/use-flowable-rest-for-app-publishing-in-flowable-modeler/1005 "2017-09-27T12:16:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jordy](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@Jordy](https://forum.flowable.org/u/Jordy)\
**Post date:** [September 27, 2017, 12:16pm UTC](https://forum.flowable.org/t/use-flowable-rest-for-app-publishing-in-flowable-modeler/1005/1 "2017-09-27T12:16:54Z")

</div>

Hello everybody,

I would like to know the value that we have to assign to the property “deployment.api.url” in flowable-ui-app.properties, to use flowable REST instead of flowable task REST API for app publishing in flowable modeler.

Best regards,

Jordy.

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [September 27, 2017, 3:10pm UTC](https://forum.flowable.org/t/use-flowable-rest-for-app-publishing-in-flowable-modeler/1005/2 "2017-09-27T15:10:45Z")

</div>

By default it’s this:

`deployment.api.url=http://localhost:8080/flowable-task/process-api`

So basically, it needs to have the server + context (flowable-task is the name of the war, process-api the name of the dispatcher servlet mapping). The deployment endpoint will be added automatically.

---

<div class="post-metadata">

**Author:** ![Jordy](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@Jordy](https://forum.flowable.org/u/Jordy)\
**Post date:** [September 27, 2017, 3:23pm UTC](https://forum.flowable.org/t/use-flowable-rest-for-app-publishing-in-flowable-modeler/1005/3 "2017-09-27T15:23:11Z")

</div>

Thank you for your answer joram. I tried to replace /flowable-task/process-api by flowable-rest/service but I always have this error :  
" Invalid deploy result code: HTTP/1.1 401 unauthorised" when I try to publish an app in flowable-modeler UI.

I think that the problem comes from the username and password used for publish request. The username “kermit” and the password “kermit” would be better, do you know how can I change the default username and the default password?

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [September 27, 2017, 8:32pm UTC](https://forum.flowable.org/t/use-flowable-rest-for-app-publishing-in-flowable-modeler/1005/4 "2017-09-27T20:32:17Z")

</div>

You can change the user/password that is used to do the deployment with the following properties;

```
idm.admin.user
idm.admin.password
```

---

<div class="post-metadata">

**Author:** ![Jordy](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@Jordy](https://forum.flowable.org/u/Jordy)\
**Post date:** [September 28, 2017, 9:52am UTC](https://forum.flowable.org/t/use-flowable-rest-for-app-publishing-in-flowable-modeler/1005/5 "2017-09-28T09:52:45Z")

</div>

Thank you joram it works 🙂
