Hello! Newbie here, learning web dev with an online course.
I am experiencing something odd with postman.
I am testing a very beginner script - testing if a userās name and password match with my pseudo database (which is a simple js object).
My code is the absolute same as teacher.
My code works as expected only if i have refreshed the whole postman page. The teacher does not refresh anything each time and things work as expected.
I sometimes have to refresh the page several time and the code will work after some tries ^^.
I am using postman agent, updated, and testing on my localhost.
I am coding in vs code, my code is made āliveā using latest nodemon with npm start, latest LTS of node.
I tried through chrome, also tried in incognito mode, fearing addons like ublock.
I really donāt understand what is happening.
ideas?