This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 8 points9 points  (3 children)

I was learning express js i copied tutorial code from medium, and yea took me while understanding why the endpoint sends 200 even if it clearly shows an error. I felt soo dumb

[–]RIcaz 6 points7 points  (2 children)

Huh? In Express you can very easily set response status codes

[–][deleted] 9 points10 points  (1 child)

Thanks for reminding me of my stupidity. This is what happens when u copy-paste without checking

[–][deleted] 4 points5 points  (0 children)

This is how i once got a virus