I have a jpeg as a base64 encoded string.
var image = "/9j/4AAQSkZJRgABAQEAS..."
I would like to upload this jpeg to the server using FormData.
var data = new FormData();
What is the proper way to append the image to data?
See Question&Answers more detail:os