module.exports = {
devServer: {
proxy: 'https://api.bitaps.com/btc/v1'
// подставил сервер с api
}
}
methods: {
getBtcAddress: function() {
this.axios.post('http://localhost:8080/create/payment/address', {forwarding_address: this.forwarding_address, callback_link: this.callback_link, confirmations: this.confirmations}).then((response) => {
console.log(response.data)
})
}
}