Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fetch('//:8081/file_upload', {
- method: 'POST',
- body: new FormData(document.getElementById('uploader')
- })
- .then(function (response) {
- console.log(response);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement