Information Security Projects - Anonymous Message Board

Hello everyone! I 'm stuck with this project. I can’t fix this last request.

Anonymous Message Board

You can send a PUT request to /api/threads/{board} and pass along the thread_id . Returned will be the string reported . The reported value of the thread_id will be changed to true .

Please help me


solution: freecodecamp-anonymous-messageboard-project - Replit

Your browser information:

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

Challenge: Information Security Projects - Anonymous Message Board

Link to the challenge:

In your code you’ve changed the thread but you didn’t save it thread.save()

Hi,

Maybe you already found the solution, maybe not. I was stuck at the same place as you were so maybe this will be useful for someone

What I did to pass the test was instead of sending “return res.json(“reported”)”
I sent “return res.end(“reported”)”
then it worked.
Cheers

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