ed-roh/mern-social-media

Error 400 user does not exist

frontcodelover opened this issue · 1 comments

Hello, I followed your tuto step by step but I have an error.
Register is ok
Login give me a 400 response.

As I saw req.body is undefined. I m tryong to connect with postman. Any idea ?

I found the problem.
When you are making a request on login or register you just need to check x-www-from-urlencoded or json with your key/value on Postman ;)