Unable to access API via curl
alinmateut opened this issue · 4 comments
alinmateut commented
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 commented
On your curl command, are you specifying the method request flag, i think it is "-X POST"
ccennis commented
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 commented
Closed, because I published a complete new version.
szerhusenBC commented
Closed, because I published a complete new version.