Back End Development and APIs Projects - Exercise Tracker

Tell us what’s happening:
Is this project bugged? It will not pass the challenges after (and including) “You can POST to /api/users/:_id/exercises with form data description, duration, and optionally date. If no date is supplied, the current date will be used.”.

Yet when I host this in my computer and try to do it manually in my browser (using localhost) it all seems to work fine (well, except the very last challenge of course, which I’ve yet to implement).

I’ve noticed that this is the error thrown:

The console says:


(Which corresponds to “console.log(”\nData:\n" + data + “\n”);" on line 89)

But why? Like I said, when I fill the form and do the POST request with my browser on my own hosted server, or even when I do it manually in Replit’s webview, this never happens.

Your project link(s)

solution: boilerplate-project-exercisetracker - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Back End Development and APIs Projects - Exercise Tracker

Link to the challenge:

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