# Use REST API with password

**URL:** <https://community.wowza.com/t/use-rest-api-with-password/49598>\
**Category:** Wowza Developer Dojo\
**Created:** [September 1, 2017, 11:25am UTC](https://community.wowza.com/t/use-rest-api-with-password/49598 "2017-09-01T11:25:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Hole](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@Robert\_Hole](https://community.wowza.com/u/Robert_Hole)\
**Post date:** [September 1, 2017, 11:25am UTC](https://community.wowza.com/t/use-rest-api-with-password/49598/1 "2017-09-01T11:25:22Z")

</div>

I’m using REST api to perform some actions from my application. In order to use the api it’s necessary to “Locate the property and specify none”, but I’m interested in the use of the password for access to the wowza manager. Is it possible to make requests using the password? Is there any other way to contact REST api without needing to disable the authentication property?

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [September 1, 2017, 7:04pm UTC](https://community.wowza.com/t/use-rest-api-with-password/49598/2 "2017-09-01T19:04:34Z")

</div>

You can use digest authentication with the username and password that you use to access Wowza Streaming Engine Manager.

[https://www.wowza.com/docs/how-to-query-wowza-rest-api#querycurl](https://www.wowza.com/docs/how-to-query-wowza-rest-api#querycurl)

For example if I want to query Wowza Streaming Engine to find information on an incoming stream I can use the following:

```auto
curl --digest -u "username:password" http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/instances/_definst_/incomingstreams/myStream

```

That will provide information on the status the “myStream” feed heading into the default live application. If the live feed is not running then you will receive the following:

```auto
<?xml version="1.0" encoding="UTF-8" standalone="no"?><error><wowzaServer>4.7.1</wowzaServer><code>404</code><message>The server has not found anything matching the request URI</message></error>

```

---

<div class="post-metadata">

**Author:** ![Robert\_Hole](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@Robert\_Hole](https://community.wowza.com/u/Robert_Hole)\
**Post date:** [September 6, 2017, 2:59pm UTC](https://community.wowza.com/t/use-rest-api-with-password/49598/3 "2017-09-06T14:59:58Z")

</div>

Thanks, but I need use the basic authentication (this work fine with my application), not digest. But if I use basic, I can’t access to wowza manager  
[https://www.wowza.com/docs/how-to-change-the-authentication-method-for-the-wowza-streaming-engine-rest-api](https://www.wowza.com/docs/how-to-change-the-authentication-method-for-the-wowza-streaming-engine-rest-api)  
Is there any other way? Will you solve this problem soon?

---

<div class="post-metadata">

**Author:** ![Robert\_Hole](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@Robert\_Hole](https://community.wowza.com/u/Robert_Hole)\
**Post date:** [September 28, 2017, 9:10am UTC](https://community.wowza.com/t/use-rest-api-with-password/49598/4 "2017-09-28T09:10:44Z")

</div>

Can anyone help me?

---

<div class="post-metadata">

**Author:** ![Shilpa\_Shinde](https://avatars.discourse-cdn.com/v4/letter/s/a87d85/32.png) [@Shilpa\_Shinde](https://community.wowza.com/u/Shilpa_Shinde)\
**Post date:** [October 24, 2017, 9:54am UTC](https://community.wowza.com/t/use-rest-api-with-password/49598/5 "2017-10-24T09:54:46Z")

</div>

I want to give a call to rest api from my application … how to send username password through rest api url ?

---

<div class="post-metadata">

**Author:** ![Arun\_Singh1](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@Arun\_Singh1](https://community.wowza.com/u/Arun_Singh1)\
**Post date:** [April 19, 2018, 10:27am UTC](https://community.wowza.com/t/use-rest-api-with-password/49598/6 "2018-04-19T10:27:17Z")

</div>

you can use this for send username and password through rest api url

curl -X POST --digest -u “username:password” ‘Accept:application/json; charset=utf-8’ --header ‘Content-Type:application/json; charset=utf-8’ [http://localhost:8087/v2/servers/](http://localhost:8087/v2/servers/)_defaultServer_/vhosts/_defaultVHost_/applications/testlive -d’
