Answers for "how to use nuxt axios"

1

nuxt "AxiosRequestConfig"

import { AxiosRequestConfig } from 'axios'
Posted by: Guest on June-13-2021
0

axios post nuxt

this.$axios.post('insert', {
          name: this.name, 
          email: this.email,
          password: this.password 
})
.then(function (response) {
    console.log(response);
})
.catch(function (error) {
    console.log(error);
});
Posted by: Guest on November-01-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language