Skip to content

Instantly share code, notes, and snippets.

View britez13's full-sized avatar
👋

Florencio Britez britez13

👋
View GitHub Profile
async handleRegister(data) {
let formData = new FormData();
formData.append('name', 'hola');
formData.append('email', data.email)
formData.append('password', data.password)
formData.append('password_confirmation', data.password_confirmation)
formData.append('file', data.file)
await this.getToken();
try {