Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to post from postman #39

Closed
gabrielchase opened this issue Jul 30, 2016 · 1 comment
Closed

Unable to post from postman #39

gabrielchase opened this issue Jul 30, 2016 · 1 comment

Comments

@gabrielchase
Copy link

gabrielchase commented Jul 30, 2016

I have a problem posting on postman, my headers are Content-Type: application/json and my body (I've tested both form-data and form-url-encoded) key=value are: username: chaofanman password:password and it doesn't work. I always get {"code":400,"message":"Missing Username or Password"}. However, when i post using httpie it is totally find. It also works on raw as a json however. What am i doing wrong?

@345161974
Copy link

@gabrielchase
maybe you should check the postman setting.
with postman I get the token. below is the setting.
gin-jwt-postman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants