# How to use digest auth in jquery ajax calls

**URL:** <https://community.wowza.com/t/how-to-use-digest-auth-in-jquery-ajax-calls/50139>\
**Category:** Wowza Developer Dojo\
**Created:** [November 15, 2017, 1:57am UTC](https://community.wowza.com/t/how-to-use-digest-auth-in-jquery-ajax-calls/50139 "2017-11-15T01:57:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mihir\_Desai1](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@Mihir\_Desai1](https://community.wowza.com/u/Mihir_Desai1)\
**Post date:** [November 15, 2017, 1:57am UTC](https://community.wowza.com/t/how-to-use-digest-auth-in-jquery-ajax-calls/50139/1 "2017-11-15T01:57:14Z")

</div>

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/](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){}

});

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [November 16, 2017, 12:28am UTC](https://community.wowza.com/t/how-to-use-digest-auth-in-jquery-ajax-calls/50139/2 "2017-11-16T00:28:50Z")

</div>

[http://bfy.tw/F3mo](http://bfy.tw/F3mo)

---

<div class="post-metadata">

**Author:** ![Mihir\_Desai1](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@Mihir\_Desai1](https://community.wowza.com/u/Mihir_Desai1)\
**Post date:** [November 16, 2017, 6:20pm UTC](https://community.wowza.com/t/how-to-use-digest-auth-in-jquery-ajax-calls/50139/3 "2017-11-16T18:20:50Z")

</div>

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
