

axios.post('/your-url-or-api-destination', payload)
.then((response) => {
// Show Success Message
this.$bvToast.toast('Terms and Conditions Saved', {
title: 'Success',
variant: 'success',
solid: true
});
})
.catch((error) => {
// Show Error Message
this.$bvToast.toast('Terms and Conditions Not Saved', {
title: 'Error',
variant: 'danger',
solid: true
});
});
axios.post('/your-url-or-api-destination', payload)
.then((response) => {
// Show Success Message
this.$bvToast.toast('Terms and Conditions Saved', {
title: 'Success',
variant: 'success',
solid: true
});
})
.catch((error) => {
// Show Error Message
this.$bvToast.toast('Terms and Conditions Not Saved', {
title: 'Error',
variant: 'danger',
solid: true
});
});
axios.post('/your-url-or-api-destination', payload) .then((response) => { // Show Success Message this.$bvToast.toast('Terms and Conditions Saved', { title: 'Success', variant: 'success', solid: true }); }) .catch((error) => { // Show Error Message this.$bvToast.toast('Terms and Conditions Not Saved', { title: 'Error', variant: 'danger', solid: true }); });