I am initiating a post request from Angular2 to a ASP.NET 5 controller action. Angular is posting the data correctly and hitting the controller action but it is not being ma
For me it works:
let headers = new Headers({ 'Content-Type': 'application/json' }); this.http.post(this.url, JSON.stringify({ firstName: 'Ali' }), { headers: headers })