Back End Development and APIs Projects - Exercise Tracker

Tell us what’s happening:
Hi everyone. I only started this project but already got a blocker. Can’t resolve it.
req.body.url is not showing anything

Your code so far

app.post("/api/users", async (req, res) => {
  res.json({ log: req.body.url }) // not showing anything
})

Link to GIT:

Link to REPL:

Your browser information:

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

Challenge: Back End Development and APIs Projects - Exercise Tracker

Link to the challenge:

If anyone want to run on replit the us Open website button

Ah! Resolved. I tried req.body.username and it works.

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