I create a .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" ] My controller code: [ApiController] [Route("[controller]")] public class TestController : ControllerBase { [HttpPost] public IActionResult Post() { return new JsonResult("Hello Test Post"); } } My Angular function: test() { http.post('/test', {}).subscribe( (result) => { console.log(result); } ); } Continue reading...