Created
January 29, 2021 19:56
-
-
Save MarcinGladkowski/678c3e6119f9d31ecd507408df0e4af9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// application/json !== "application/json" | |
# Working | |
POST http://172.18.0.2:8080/api/auth/login | |
Content-Type: application/json | |
{ | |
"email": "[email protected]", | |
"password": "12345" | |
} | |
# Not working - the req.body.email is undefined | |
POST http://172.18.0.2:8080/api/auth/login | |
Content-Type: "application/json" | |
{ | |
"email": "[email protected]", | |
"password": "12345" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment