Click here to Skip to main content
16,020,666 members

Comments by shivangkaul (Top 4 by date)

shivangkaul 17-Dec-19 7:37am View    
Deleted
tripe3way, I would love to but unfortunately I am living in London for now till my assignment is not over. You can search me on LinkedIn by Shivang Kaul. Here is the link,
https://www.linkedin.com/in/shivang-kaul-5116805
shivangkaul 17-Dec-19 7:32am View    
Deleted
Apologies for late reply was occupied with office tasks from last few months.

Yes this code is from *.ts file where GET and POST request are required. This code is written in the base,

AbstractReadOnlyService.httpHeaders = new HttpHeaders().set('Content-Type', 'application/json');
AbstractReadOnlyService.httpHeaders = AbstractReadOnlyService.httpHeaders.set('Accept', 'application/json');

AbstractReadOnlyService.optionsStatic = {
headers: AbstractReadOnlyService.httpHeaders,
params: new HttpParams(),
withCredentials: true
};


And as you can see, it is being used in POST request,


//For POST
return this.httpClient.post(url, firmDashboardSearchCriteria, AbstractReadOnlyService.optionsStatic).pipe(
map((response: any) => response as xxxxSearchResult[]),
catchError(this.handleError)
shivangkaul 20-Sep-13 22:37pm View    
Hi Karthik. A, I have not given the service url instead its just the snippet I have mentioned here, I don't think its a problem here. The problem is - "This code is working fine with IE10 and other browsers when it is deployed on IIS, but it's still causing problem with IE9 and below versions of IE. On IE it shows and Error - Access is Denied."
shivangkaul 20-Sep-13 7:16am View    
This code is working fine with IE10 and other browsers when it is deployed on IIS, but it's still causing problem with IE9 and below versions of IE. On IE it shows and Error - "Access is Denied."