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

return 401 #32

Closed
CrazyF-wind opened this issue May 17, 2017 · 3 comments
Closed

return 401 #32

CrazyF-wind opened this issue May 17, 2017 · 3 comments
Labels

Comments

@CrazyF-wind
Copy link

CrazyF-wind commented May 17, 2017

this is my host
http://localhost:1337/api/oauth/token?grant_type=password&client_id=android&client_secret=SomeRandomCharsAndNumbers123

and username is myapi
password is abc1234

but when I post ,return 401,why?

@CrazyF-wind
Copy link
Author

later,I use the httpie,it can be useful

but I use the postman and httpserver tool return 401

may be this is my fault.And I continue to read it

@yuttasakcom
Copy link
Contributor

Body select x-www-form-urlencoded
screenshot from 2017-05-21 13-24-13

@CrazyF-wind
Copy link
Author

ok,this time,the postman has been succeed!Thinks!

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

No branches or pull requests

3 participants