diff --git a/src/backend/api.js b/src/backend/api.js index 8006f71..d9d5199 100644 --- a/src/backend/api.js +++ b/src/backend/api.js @@ -21,6 +21,8 @@ export async function post(path, body) { body: JSON.stringify(body) }); + console.log('Data from API:', res); + if (res.status === 200) { const data = await res.json(); console.log("Received post:", data);