Reputation: 24737
I want to open a file dialog, and send the chosen file (using xmlHttpRequest object) with Basic Authentication header. I understand that it is a problem to receive the file content.
What is the best solution?
Upvotes: 1
Views: 720
Reputation: 1131
You could use an <input type="file">
as part of a standard HTML form.
Upvotes: 1