401 base.unauthorized error

Viewed 55

I installed apache answer in my localhost, i tried posting the questions using the API (http://127.0.0.1:80/answer/api/v1/question), but then I am getting the 401 base unauthorized error. can somebody tell why?

screenshot

{
    "code": 401,
    "reason": "base.unauthorized_error",
    "msg": "Unauthorized.",
    "data": null
}
1 Answers

Code 401 means that you need to log in to operate. The most likely reason is that the token you filled in is incorrect.