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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…