Why does const res = await.response.json() return undefined?
I am building a C# API with a React front-end. So far, the API is working and I can fetch the data. I wanted to implement authentication so I watched some tutorials and ended up with a working code that will fetch the corresponding data. When I try to verify that data, it returns undefined and skips the verification and does not route accordingly.