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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -