I have jpeg as a base64 encoded string.
var image = "/9j/4AAQSkZJRgABAQEAS..."
I want to upload this jpeg to the server using FormData.
var data = new FormData();
What is the correct way to add an image to data?
javascript form-data
user1031947
source share