Post method in angular 2
<p>I am trying to use post form data to database, I am trying to add my data to database, I think I missed something.
           I am new to angular trying to learn and I dont know how to use post method and what should I put into json stringify. Please can someone help.
This is my template           </p>

<pre><code>&lt;form (ngSubmit)="onSubmit()" [ngFormModel]="form" #f="ngForm"&gt;
    &lt;div class="form-row"&gt;
        &lt;div class="formHeading"&gt;Facebook&lt;/div&gt;
        &lt;input type="text" id="fb" ngControl="fb"&gt;
          &lt;div class="errorMessage" *ngIf="f.form.controls.fb.touched &amp;&amp;       !f.form.controls.fb.valid"&gt;Facebook address is required&lt;/div&gt;
      &lt;/div&gt;


     &lt;div class="form-row"&gt;
        &lt;div class="formHeading"&gt;Google&lt;/div&gt;
        &lt;input type="text" id="gl" ngControl="gl"&gt;
        &lt;div class="errorMessage" *ngIf="f.form.controls.gl.touched &amp;&amp; !f.form.controls.gl.valid"&gt;Google address is required&lt;/div&gt;
    &lt;/div&gt;


     &lt;div class="form-row"&gt;
        &lt;div class="formHeading"&gt;Twitter&lt;/div&gt;
        &lt;input type="text" id="twt" &gt;

    &lt;/div&gt;


     &lt;div class="form-row"&gt;
        &lt;div class="formHeading"&gt;LinkedIn&lt;/div&gt;
        &lt;input type="text" id="li" &gt;

    &lt;/div&gt;



    &lt;div class="form-row"&gt;
        &lt;button type="submit" [disabled]="!f.form.valid"&gt;Save&lt;/button&gt;
    &lt;/div&gt;
</code></pre>

<p>My Component</p>

<pre><code>       import {Component} from '@angular/core';

        import {FormBuilder, Validators, ControlGroup, FORM_DIRECTIVES}            from '@angular/common';
          import {Http, Response, Headers} from '@angular/http';
          import {Observable} from 'rxjs/Observable';
          import {Subject } from 'rxjs/Subject';

          @Component({
    selector: 'social-form',
    directives:[FORM_DIRECTIVES],
    templateUrl: './components/social/social.html',
    providers: [FormBuilder]
     })
        export class Social {
             http;
              form;

         constructor(fb: FormBuilder) {

             this.form = fb.group({
             "fb": ['', Validators.required],
             "gl": ['',Validators.required],


             });
          }

            onSubmit() {


        var headers = new Headers();
        headers.append('Content-Type', 'application/json');

        this.http.post('http://www.syntaxsuccess.com/poc-post/', JSON.stringify({?????????????}),{headers:headers})
            .map((res: Response) =&gt; res.json())

    }
}


I am trying to add my data to database,i think i missed something.
       I am new to angular trying to learn and i dont know how to use post method and what should i put into json stringify.Please can someone help.
</code></pre>