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 -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -