Wowza Community

Use REST API with password

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?


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

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

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:

<?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>

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
Is there any other way? Will you solve this problem soon?

Can anyone help me?

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

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/defaultServer/vhosts/defaultVHost/applications/testlive -d’