I create a dot net core angular template project in visual studio 2022 which has a controller named "Weather forecast". all http requests to this controller work properly but the similar http request to my new controller doesn't work. I even add this line to my proxy.config.js context:[ "weatherforecast", "/test" ] I will be appreciated if someone can help me. my controller code: [ApiController] [Route("[controller]")] public class TestController : ControllerBase { [HttpPost] public IActionResult Post() { return new JsonResult("Hello Test Post"); } } my angular function test() { this.http.post('/test', {}).subscribe( (result) => { console.error(result); } ); } Continue reading...