Angular2 post request not sending proper data to server
<p>I am taking the field of a form and passing it to a service as <code>this.form.value</code> when I am logging <code>this.form.value</code> on the console I am getting <code>Object { email: "zxzx", password: "zxzxx" }</code> when I am sending the same thing to the service and calling the server like :</p>

<pre><code>import {Http} from 'angular2/http';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/toPromise';
import {Injectable} from 'angular2/core'
import {Post} from './post';
import {Observable} from 'rxjs/Observable';


@Injectable()
export class PostService {
//dependency injection
private _url = "http://127.0.0.1/accounts/login_user/";
constructor(private _http:Http) {

}


createPost(post){

    return this._http.post(this._url,JSON.stringify(post))
    .map(res=&gt;res.json());

}
}
</code></pre>

<p>The server is being called but the values are not being passed. When I am logging the response on the console I am getting :</p>

<p><code>Object { _isScalar: false, source: Object, operator: Object }</code></p>

<p>Can somebody please help me solve this issue?</p>

<p>Thank you.</p>