我已经成功地在.net上应用了JWT身份验证&当我使用postman enter image description here时,结果还不错。但是当我使用相同的Url从angular调用它时,它显示了一个错误,因为它没有从angular中命中webAPI的Actionresult。以下是请帮助我的代码。
我知道如何使用angular向API发送post请求,但想知道如何检索从应用程序发送的post请求。假设我有这个C# post请求: {
// Create a request using a URLWebRequest request = WebRequest.Create("http://localhost:500