javascript - Download file from url and then upload to another site via js -
i have requirement download file url, post site via single js call.
use case:
- user enter file url click re-upload button
conditions:
- the file either audio/wav, audio/mp3, or zip file multiple wav , mp3
- i need post using multipart/form-data
questions:
- how create multipart/form-data request via js manually?
- correct me if wrong, think need store file content input field once download it.
- how encode file content string comes byte[] when uploaded?
Comments
Post a Comment