我想在调用时将令牌传递给我的 api http.post('http://localhost/api/spaceships')。但是,我想排除http.get('http://localhost/api/spaceships'). 我正在使用 asp.net-core 并且存在一个[AllowAnonymous]以及一个[Authorize]属性。但是,我必须添加.../api/spaceships到protectedResourceMap,以便在发布期间使其超过授权属性。如何排除http.get?我正在使用 msal-angular v2。角度 v11。