axios: changed base URL of axios get call

This commit is contained in:
Begerad, Stefan 2021-09-10 14:42:27 -04:00 committed by Begerad, Stefan
parent 524b8f9df2
commit ddf93b9075
1 changed files with 3 additions and 1 deletions

View File

@ -7,10 +7,12 @@ function axiosGet () {
//send HTTP GET via axios
axios
.get('https://dedriver.org/xpress')
.get('https://test-tarifmatrix.vbn.de:4245/fares/area/info')
.then((response) => {
if (response.data) {
console.log('axiosGet() response.data: ', response.data);
} else {
console.log('axiosGet() response.data unavailable ');
}
})
.catch(function (error) {