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 access API via curl #101

Closed
alinmateut opened this issue Oct 1, 2018 · 4 comments
Closed

Unable to access API via curl #101

alinmateut opened this issue Oct 1, 2018 · 4 comments
Labels

Comments

@alinmateut
Copy link

Whenever I try to run in my terminal
curl localhost:8080/auth --data "username=admin&password=admin"
it gives me an 401 Unauthorized status. How can I fix this?

@cbvictorio
Copy link

On your curl command, are you specifying the method request flag, i think it is "-X POST"

@ccennis
Copy link

ccennis commented Apr 6, 2019

i am also having this issue and i am doing it both with postman and passing it with "-X POST" -- no matter what it returns 401 Unauthorized.

@szerhusenBC
Copy link
Owner

Closed, because I published a complete new version.

1 similar comment
@szerhusenBC
Copy link
Owner

Closed, because I published a complete new version.

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

4 participants