# Deploying an app using the rest interface

**URL:** <https://forum.flowable.org/t/deploying-an-app-using-the-rest-interface/3037>\
**Category:** Uncategorized\
**Created:** [December 12, 2018, 10:11am UTC](https://forum.flowable.org/t/deploying-an-app-using-the-rest-interface/3037 "2018-12-12T10:11:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![xcaptain](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/xcaptain/32/1286_2.png) [@xcaptain](https://forum.flowable.org/u/xcaptain)\
**Post date:** [December 12, 2018, 12:34pm UTC](https://forum.flowable.org/t/deploying-an-app-using-the-rest-interface/3037/2 "2018-12-12T12:34:58Z")

</div>

I have the same issue and get solved, you can see my thread [How to use rest api in docker](https://forum.flowable.org/t/how-to-use-rest-api-in-docker/2977/9)

To use rest api you have to either setup `flowable-rest` or `flowable-task`, to pass http basic authentication you can use something like

```auto
curl -i 'http://admin:test@localhost:8080/flowable-task/process-api/repository/deployments'

```

or

```auto
curl -i --user admin:test 'http://localhost:8080/flowable-task/process-api/repository/deployments'

```

You got redirected because you are using the application api which require cookie based authentication

---

_[View the full topic](https://forum.flowable.org/t/deploying-an-app-using-the-rest-interface/3037)._
