In angularjs 2 How to post data and get response from php page ? using http post Ex: my requirment is to post data from auth.js file to session.php to store session and get that session value ?
return this._http.get('../session.php' + token)
.map((res: Response) => {
console.info(res.json());
return res;
});





Просто измените HTTP-метод с «get» на «post», и он заработает.
return this._http.post('../session.php' + token, body)
.map((res:Response) => res.json())
.subscribe((data) => console.info(data));