Hello , how to send basic auth to REST API with given Swagger package, when i want to try some API call it says “The request requires user authentication”.
I found at Swagger index.html row for api key, but that doesn’t work with Wowza REST API.
In the Wowza Streaming Engine /conf directory edit the Server.xml and set this line:
<DocumentationServerAuthenticationMethod>none</DocumentationServerAuthenticationMethod>
Then save the .xml file and restart Wowza Streaming Engine.
Access reference documentation for the REST API
I did that, but, when i click on try out button it says , “The request requires user authentication”.
Thanks for the clarification.
The swagger system we provide does not have an option to use authentication.
You would need to use Postman, and then use Basic Auth or Digest Auth in order to send commands to the server over 8087.
If you really want to use the swagger page, you need to disable authentication in the Server.xml for port 8087. To keep the server secure, I would suggest setting up a whitelist to only allow connections from certain IPs on port 8087. This is all done in the Server.xml
If i disable authentication, server manager wont work, thanks anyway, look like i will use Postman.