axios({
method: 'post',
headers:{'Content-Type application/x-www-form-urlencoded'},
url: 'http://localhost:8081/insertVideo',
data: {
name:
this.editedItem.name,
description: this.editedItem.description,
descriptionSeo: this.editedItem.descriptionSeo,
keywords: this.editedItem.keywords,
tags: this.editedItem.tags,
//video: this.$
refs.video,
token: localStorage.getItem('auth')
}
})
.then(function(){
console.log('SUCCESS!!')
})
.catch(function(){
console.log('FAILURE!!')
})