Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Radu Marian on Sep 02, 2008 12:28
open dhtmlx forum
Using XMLHttpRequest to http get with basic authentication

Hello,

Can someone provide an example on how to:

1. Make an http get call - http://some.com/resource?id=123 at the same time passing user/password credentials
2. Use the response xml in tree.loadXML(...)

Thanks,
Radu
Answer posted by Support on Sep 03, 2008 01:43
Such functionality is not available by default. 
You can try to modify dhtmlxcommon.js , line 135, and add js command to send necessary http headers - but I'm not sure about details.