Click here to Skip to main content
15,794,120 members

Comments by Ignitius (Top 13 by date)

Ignitius 11-Aug-14 4:20am View    
thanks for the help, i found out that the connection to the web service was not linked as it was in a web.config instead of a app.config
Ignitius 22-May-14 6:33am View    
the blob im trying to send is created in the browser and from my understanding stored in the cache, so that confused me even more
Ignitius 22-May-14 3:43am View    
could this work

Recorder.sendFile = function(blob, filename) {
var url = (window.URL || window.webkitURL).createObjectURL(blob);
var link = documet.getElementByid("file");
link.href = url;

var reader = new window.FileReader();
reader.onloadend = function() {
base64data = reader.result;
console.log(base64data );

var uri = "http://localhost/TestWebService/UploadService.asmx?op=UploadAudio";
var xhr = new XMLHttpRequest();"POST", uri, true);
xhr.onreadystatechange = function() {
if (xhr.readyState == 4 && xhr.status == 200) {
// Handle response.
alert(xhr.responseText); // handle response.
Ignitius 22-May-14 2:45am View    
How am I suppose send data(blob) which was created using the browser
Ignitius 22-May-14 2:42am View    
Since localStorage/sessionStorage only works with strings, will the base64 string be compatible