Wowza Community

How to use digest auth in jquery ajax calls

I am trying to make wowza REST api call from my .net application. I am doing that using jquery ajax method. Could anyone please show me how to do that with digest authentication method?

$.ajax({
url:“http://localhost:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/live/instances/definst/incomingstreams/stream1.stream/monitoring/current”,
type: “GET”,
success: function(response){},

error: function (xhr, status, error){}

});

http://bfy.tw/F3mo

Hi Karel,

Thanks for the reply but I have already done that. I used jquery plugin like digest-ajax etc. for making call but none of them worked. That’s why I posted here. If you have specific example, showing code like I have posted then please share here. I would really appreciate that. thanks