I unable to get response in postmethod api. but in debugging i see my body parameter is submitted. can anyone give me correct code of calling postmethod rest api

#1

let headers = new Headers({ ‘Content-Type’: ‘application/json’ });
let options = new RequestOptions({ headers: headers });
this.body.username=this.username;
this.body.password=this.password;
this.body.securitycodenew=HomePage.SecurityCode;
this.body.testing=HomePage.TESTING_Email;

  console.log(headers);
  console.log(this.body);
  console.log(HomePage.SecurityCode);  
  this.http
      .post("login.php", this.body, options)
      .map(res => res.json())
      .subscribe(
          data => {
            alert(data);
          },
          err => {
            alert(err);
          }
      );

response
Response with status: 0 for URL: null