axios: changed base URL of axios get call
This commit is contained in:
parent
524b8f9df2
commit
ddf93b9075
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue