Constructing a multipart/form-data in javascript in the modern era -


i've got jpg, resized canvas, recovered data url (base64 encoded). want post it. base64 being 35% heavier binary data, should try , construct multipart/form-data, image sent attachment. in old days, have tried formdata object like this. zippy npm http clients hoping there might proper library this. request promises me, it's choking webpack, , looks it's not used in browser. how can this? persevere request? go formdata?


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -