I use Angular 9 for sending some headers such as page size and current page to my asp.net mvc core back end over IIS server . when my request is to http address every thing is OK ,but when I use https for calling API, header values not sent correctly and pagging not work . I test my https back end with postman and it work through it.
let headers = new HttpHeaders({ 'Content-Type': 'application/json' });
headers = headers.set('PageSize', pageSize.toString());
headers = headers.set('CurrentPage', currentPage.toString());
How can I send my header request correctly?