Skip to main content

All Questions

Tagged with
2 votes
2 answers
89 views

upload audio blob to server and save as file

I have 3 buttons to rec, stop and play audio. Using MediaRecorder is easy to get an audio blob running. Problems arise when I try to upload the blob as a file to the server. I have an audio element ...
Leonard's user avatar
  • 21
1 vote
1 answer
346 views

Bug: Blob Object creates empty PDF file

I was facing an issue where I was recieving a valid PDF from a Java servlet but at the time where I created the Blob object in Javascript it wasn't being correctly created. The data I was recieving ...
Daniel Culebras's user avatar
1 vote
0 answers
176 views

Binding Blob type from ajax

I've developed an API for validating Excel files and displaying the code content within it. My goal is to call this API using Ajax on the client-side. However, I've encountered an issue with the blob ...
wnotunas's user avatar
  • 145
0 votes
0 answers
321 views

Saving images in Wordpress using Blob and Ajax to display them later in a gallery

I am trying to create a website (by using WordPress) where the user can take a picture of a document, which is then uploaded to the server where it is stored and later reviewed by someone (such as a ...
Krupp J's user avatar
  • 23
-1 votes
1 answer
286 views

Broken PDF when forcedownloaded via AJAX

I'm using an API call (cURL, server-side) to receive an XML file. The XML file has a base64 encoded PDF embedded within, and I'm extracting this file from the XML, and then saving it on the server for ...
FiddlingAway's user avatar
  • 2,199
0 votes
0 answers
79 views

Error request pdf with ajax, XmpHttpRequest

i'm using ajax to make a request to an API, API makes a pdf a response with the file, but the ajax request return this error: Uncaught DOMException: XMLHttpRequest.responseText getter: responseText ...
David081's user avatar
  • 103
1 vote
0 answers
92 views

Get .wav blob from url

I'm trying to get a blob from an URL (in my case leads to a .wav file). The URL is located at my own website, so I only do requests to the same site. The purpose: A user has uploaded some .wav files ...
Webdeveloper_Jelle's user avatar
0 votes
1 answer
263 views

How to access FormData sent with javascript vanilla in PHP

I have this simple program that saves canvas into blob file, I am trying to retrieve it in php, but I can't manage to access it. My console.log(FormData) does show the blob file content properly. HTML:...
Alsakka's user avatar
  • 155
1 vote
1 answer
4k views

Blob and Ajax issue TypeError: Failed to execute 'arrayBuffer' on 'Blob': Illegal invocation

Hi I'm trying to pass a blob in data inside $.ajax var blob = new Blob([content], { type: 'text/plain;charset=utf-8' }); $.ajax({ url: "myurl", type: 'POST', ...
Wall3-8e's user avatar
0 votes
1 answer
7k views

How to get response headers using angular HttpClient

Here I am using rxjs Ajax to make a post api call and take filename from response headers and download file. I need to replace Ajax call with angulars http service. I am not getting how to replace ...
Sparrow's user avatar
  • 11
2 votes
1 answer
2k views

Downloading image via GET request but obtaining 'application/octet-stream'

I created a GET route in my back-end server which returns an image, depending on the GET query. The route is working OK, and looking in the developer tools I can see the image preview correctly as ...
Matheus Felipe's user avatar
1 vote
0 answers
722 views

How to display the blob image stored in mysql using javascript?

I want to receive the blob image stored in the longblob type 'menuImg' column and put it in the img tag with the id 'img'. Help me! ['/admin/getMenuImg' Router source] router.get('/getMenuImg', ...
merong's user avatar
  • 11
0 votes
0 answers
107 views

Not able to retrieve image and video through REST API which connects my front end

I tried to get the video and the image from the user in a form, on clicking "submit", the video and image is converted to Blob and send to the backend. To my surprise, the blob file is not ...
Ashish Ranjan Sinha's user avatar
0 votes
1 answer
1k views

How to convert base64String to blob and send to controller via ajax in ASP.NET MVC?

I am new to ajax, currently I am using ajax trying to send base64string from view to controller and get a JsonResult as following: $.ajax({ url: "@Url.Action("UploadSignature", "...
JC YOUNG's user avatar
0 votes
0 answers
896 views

WordPress uploaing blob file

I tried two methods for uploading blob files to WordPress media library. In first method i tried move blob tmp file to WordPress upload directory with move_uploaded_file(). Then tried upload this temp ...
wpuzman's user avatar
  • 370

15 30 50 per page
1
2 3 4 5
10