add id for tag html login
This commit is contained in:
@@ -1 +1 @@
|
||||
const instance = axios.create({ baseURL: 'http://localhost:8080/api'});
|
||||
const instance = axios.create({ baseURL: 'http://localhost:8083/api'});
|
@@ -1 +1,5 @@
|
||||
instance.get("token", { auth:{username:"peter93", password:"toto"}}).then(function(response) { console.log(response) });
|
||||
instance.get("token", { withCredentials: true})
|
||||
.then(function(response) { console.log(response) })
|
||||
.catch(function(error){
|
||||
|
||||
});
|
Reference in New Issue
Block a user