return this.http.post(this._InstUrl, body, options)
.map((res: Response) => {res.json() })
.subscribe(
(data) => {
console.log(this.Result);
},
(error) => {
console.log(error);
});
When i execute above code, it didn't get work for me and showing below mentioned error.
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:55139' is therefore not allowed access. The response had HTTP status code 405.
Can anyone help me on this issue?