Answers for "send information to database in vue"

C#
1

send information to database in vue

fetch('https://your_firebase.com/form.json' , {
                method:'POST'
                ,headers:{
                    'Content-Type':'application/json'
                },body:JSON.stringify({user_name:this.user_name,
                    user_last_name:this.user_last_name,
                    user_email:this.user_email,
                    user_country:this.user_country})
            }).then(()=>{
                this.$emit('send' , {user_name:this.user_name , user_last_name:this.user_last_name , user_email:this.user_email , user_country:this.user_country})
                this.show_anim = true
                this.user_name = '';
                this.user_email = '';
                this.user_last_name = '';
                this.user_country = '';
            })
Posted by: Guest on May-31-2021

Code answers related to "send information to database in vue"

C# Answers by Framework

Browse Popular Code Answers by Language