Error while calling API in .net core use responseType in get method

 this.http.get(this.baseURL + 'api/Values', {responseType: 'text'}).subscribe(payload =>

   this.ArrayList = payload);

Comments

Popular posts from this blog

Get Database tables and there structure and database tables data. Backup database tables and data without bak file. database version issue backup. database backup version error

Access to XMLHttpRequest at 'https://localhost:44363/api/Values' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.