Exercise Tracker - Repl.it Triggering both POST and GET

Hello all, working on the Exercise Tracker project in the backend cert. Spent some time trying to figure out why, every time I tested it, my submission form properly posted but then immediately called the GET request and called up the user list as well.

Finally, I tried visiting the site outside of the repl IDE (just using the stand alone link) and it went fine, worked just as I’d expected.

Is there something I’m doing wrong or is this just a quirk/bug of repl.it, since it works when it isn’t in the IDE?

Page: https://excercisetracker.brentonh.repl.co/
Repl: ExcerciseTracker - Replit

Routing code is in index.js.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.