Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to send data from form with post axios in nuxt

async nameOfFunction(){
    await this.$axios.$post('https://api.com/v1/resource', 
    {
        name: 'name',
        date: 'date'
    }, 
    {
        // Config
    })
}
Source by serversideup.net #
 
PREVIOUS NEXT
Tagged: #send #data #form #post #axios #nuxt
ADD COMMENT
Topic
Name
6+7 =