0
shyamjith created
Hi
i am checking webapi in Postman
I did login using "http://localhost:6634/api/Account/Authenticate" and I got a token
when i try to get tenant list using "http://localhost:6634/api/services/app/tenant/GetTenants " i am getting following response
{
"success": false,
"result": null,
"error": {
"code": 0,
"message": "Current user did not login to the application!",
"details": null,
"validationErrors": null
},
"unAuthorizedRequest": true
}
Method : Post Headers - Content-Type:application/json Authorization:[Token Got from Authenticate Api ]
Please help me on this
1 Answer(s)
-
0
Hi,
Have you seen this example ? <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate-samples/tree/master/ConsoleRemoteWebApiCall">https://github.com/aspnetboilerplate/as ... WebApiCall</a>
It might help you.