Reputation: 1
I have applied JWT authentication on .net successfully & the result is quite fine when I use postman enter image description here
but when I called it from angular using the same Url it shows an error because it's not hitting the Actionresult of web API from angular. Following are the code Please help me out.gu enter image description here
Upvotes: 0
Views: 150
Reputation: 62298
That should be url in your angular app : http://localhost/59912/api/account/login
. Currently you are using end point http://localhost/59912/login
which would not match and also does not match what you are using in postman.
Upvotes: 1