How do i send XML data using xmlhttp to an https address?


I have a web application that reads XML files sent to it via xmlhttp. i have recently had a request to ensure that these files are sent over a secure channel and have purchased and installed an SSL certificate on the server. Perhaps foolishly I believed I could simply get the client to send to an https address, but on testing it I am getting a permission denied error when I try and run:

xmlhttp.Open("POST", "", false);      

Any ideas as to what I need to do to simply allow XMl data to be sent in to an https address?

Who is Participating?
B_DorseyConnect With a Mentor Commented:
are you sure the script is running on a secure webpage?
Weiping DuSenior Web DeveloperCommented:
Have you ever try something like:  xmlhttp.Open("POST", "", false, "username","password");
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.