I am trying to post data to my php page from angular2 . it generate correct url but when i use ajax call with same url it does not hit my php page.
let url = 'http://localhost/deals//wp-admin/admin-ajax.php?action=create&deal='+deal+'&price='+price;
console.log(url); // URL to web API
var headers = new Headers();
headers.append("Content-Type", "application/jsonp");
return this._http.get(url, headers )
.map(res => res.json() );