title: Post method returns 404 in Asp.net core 2.2 Web API Controller
body: <p>I know I'm not the first to ask this .But I can't find the solution and I tried all the ways.</p>
  
  <p>I am trying to call the API post action from the angular 6 application .And I got the <strong>404 Not Found</strong></p>
  
  <p>API controller.</p>
  
  <pre><code>    [Route("api/[controller]/{action}")]
      [ApiController]
  
      public class EmployeeMasterController : ControllerBase
      {
  
       [HttpPost]
          public async Task&lt;IActionResult&gt; CreateEmployee([FromBody] Employee_Master_Model employee_Master_Model)
          {
              try
              {
                 //Work arround
                  return Ok();
              }
              catch (Exception ex)
              {
                  throw ex;
              }
          }
  
  }
  </code></pre>
  
  <p>Angular Call</p>
  
  <pre><code>API_URL : string = 'http://localhost:51951/';
  
    CreateUpdateEmployees(mEmployeeForm){
      const body = mEmployeeForm;
      return this.http.post(this.API_URL+'api/EmployeeMaster/CreateEmployee',body );
    }
  </code></pre>