modified code
This commit is contained in:
parent
75155a60bd
commit
bd8eb9681f
@ -73,8 +73,9 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
execQuery(){
|
execQuery(){
|
||||||
console.log("https://dwarves.iut-fbleau.fr/~fauvet/api/"+this.state.search);
|
|
||||||
return fetch("https://dwarves.iut-fbleau.fr/~fauvet/api/"+this.state.search).then(response => {
|
return fetch("https://dwarves.iut-fbleau.fr/~fauvet/api/"+this.state.search).then(response => {
|
||||||
|
console.log(this.state.search);
|
||||||
|
console.log(response.json());
|
||||||
return response.json();
|
return response.json();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user