Last active
August 20, 2020 02:43
-
-
Save alvnrapada/19a275fb71a4bdefa7ebab6b35274322 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_sendRequest() { | |
const data = new FormData() | |
this.loader.file.then(result => { | |
data.append('file', result) | |
this.xhr.send(data) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment