Anaïs Urlichs
1 min readJun 7, 2019

--

When I try to receive the token with $ curl -X POST -H “Content-Type: application/json” http://localhost:8000/api/login_check -d ‘{“username”:”username”,”password”:”password”}’ I alway get{“code”:401,”message”:”Bad credentials”} (I placed the information of the registered user in the database; for username — the email, and for password — the password); any ideas? (The url is from my project)

--

--

Anaïs Urlichs

Developer Advocate @ Aqua Security, CNCF Ambassador, Weekly Newsletter: https://anaisurl.com/