check json format
This commit is contained in:
parent
8e4cad4c85
commit
ac6dffa129
@ -21,6 +21,8 @@ export async function post(path, body) {
|
|||||||
body: JSON.stringify(body)
|
body: JSON.stringify(body)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
console.log("Initial data from API:", res)
|
||||||
|
|
||||||
const data = JSON.parse(await res.text());
|
const data = JSON.parse(await res.text());
|
||||||
|
|
||||||
console.log("Data from API:", data)
|
console.log("Data from API:", data)
|
||||||
|
Loading…
Reference in New Issue
Block a user