cors error angular php

Solutions on MaxInterview for cors error angular php by the best coders in the world

showing results for - "cors error angular php"
Luigi
30 May 2018
1use headers:
2
3let HEADER: HttpHeaders = new HttpHeaders(); 
4HEADER.append('Access-Control-Allow-Origin', '*');
5HEADER.append('Content-Type', 'application/json');
6HEADER.append('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');