title: Angular2 http post couln't catch controller action
body: <p>I would like to call post asp net core controller action.</p>
  
  <p>Here's my code:
  Message Controller</p>
  
  <pre><code>[Route("api/[controller]")]
  public class MessageController : Controller
  {
      [HttpPost]
      public IActionResult AddBlog(string email)
      {
          //test
          return View();
      }
  }
  </code></pre>
  
  <p>my form:</p>
  
  <pre><code>&lt;form [formGroup]="contactForm" (ngSubmit)="onSubmitModelBased()"&gt;
      &lt;div class="form-group"&gt;
          &lt;label for="email"&gt;Email&lt;/label&gt;
          &lt;input type="email" class="form-control" id="email" formControlName="email" placeholder="email"&gt;
      &lt;/div&gt;
      &lt;button type="submit" class="btn btn-block btn-primary"&gt;Wyślij&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>and my component ts</p>
  
  <pre><code>public onSubmitModelBased() {
      alert("test");
      let body = JSON.stringify({ email: 'test@test.pl' });
      let headers = new Headers({ 'Content-Type': 'application/json' });
      this.http
          .post('/api/Message/AddBlog', body, { headers: headers })
          .subscribe(data =&gt; {
              alert('ok');
          }, error =&gt; {
              alert('not ok');
          });
  }
  </code></pre>
  
  <p>I; seeing alert("test") and the http.post action return alert('ok').
  I've also made a breakpoint in controller action but it hasn't been catched there.  </p>