axios({
method: 'post',
url: baseUrl + 'applications/' + appName + '/dataexport/plantypes' + plan,
headers: {},
data: {
foo: 'bar', // This is the body part
}
});
axios.get('/api/updatecart', {
params: {
product: this.product
}
}).then(...)
axios.get('/api/updatecart', {
params: {
product: this.product
}
}).then(...)
axios.get('/api/updatecart', {
params: {
product: this.product
}
}).then(...)
axios.get('/api/updatecart', {
params: {
product: this.product
}
}).then(...)
axios.get('/api/updatecart', {
params: {
product: this.product
}
}).then(...)
axios.get('/api/updatecart', {
params: {
product: this.product
}
}).then(...)
// `data` is the data to be sent as the request body
// Only applicable for request methods 'PUT', 'POST', 'DELETE', and 'PATCH'
// When no `transformRequest` is set, must be of one of the following types:
// - string, plain object, ArrayBuffer, ArrayBufferView, URLSearchParams
// - Browser only: FormData, File, Blob
// - Node only: Stream, Buffer
data: {
firstName: 'Fred'
},
axios.get('/api/updatecart', {
params: {
product: this.product
}
}).then(...)