c# - Authenticated Calls -


i doing authenticated data fetch on server-side follows:

httpwebrequest request = (httpwebrequest)webrequest.create(url); request.proxy = new webproxy("..."); request.usedefaultcredentials = true; request.keepalive = true; request.cookiecontainer = new cookiecontainer(); 

is possible using jquery?

you place in static method marked [webmethod] attribute , call from jquery - is, instead of doing call directly through proxy, still client-side async call still goes through server.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -