Answers for "cors error angular php"

PHP
0

cors error angular php

use headers:

let HEADER: HttpHeaders = new HttpHeaders(); 
HEADER.append('Access-Control-Allow-Origin', '*');
HEADER.append('Content-Type', 'application/json');
HEADER.append('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
Posted by: Guest on August-26-2021

Browse Popular Code Answers by Language