【发布时间】:2020-04-28 13:54:08
【问题描述】:
我已成功在.net 上应用 JWT 身份验证,当我使用 postman 时结果非常好 enter image description here
但是当我使用相同的 Url 从 Angular 调用它时,它会显示错误,因为它没有从 Angular 访问 Web API 的 Actionresult。以下是代码请帮帮我。gu enter image description here
【问题讨论】:
-
请不要将代码发布为图片。而且你还没有展示 Angular 的实现。
-
when I called it from angular using the same Url it shows an error请分享您在angular客户端发出请求的代码,并请在浏览器网络选项卡上查看请求的状态代码。
标签: angular asp.net-core-webapi