title: How to send POST request via angular's HttpClient?
body: <p>I want to send POST request via angular's HttpClient.</p>
  
  <p>This is my typescript code:</p>
  
  <pre><code>saveEvent() {
          let header = new HttpHeaders({ 'Content-Type': 'application/json' });
          return this.http.post(this.eventUrl, JSON.stringify(this.data), { headers: header });
  }
  </code></pre>
  
  <p>And my HTML code:</p>
  
  <pre><code>&lt;button (click)="saveEvent()"&gt;Click me!&lt;/button&gt;
  </code></pre>
  
  <p>I have no any forms, just want send JSON to server via POST-request. Request is not sent as I see at chrome console. How to fix this?</p>