Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146490 | Aug 6,2019 07:26 AM UTC | Mar 11,2020 09:51 AM UTC | Angular - EJ 2 | 3 |
![]() |
Tags: PDF Viewer |
ngOnInit(): void {
(<any> XMLHttpRequest).prototype.realSend = XMLHttpRequest.prototype.send;
var newSend = function (vData) {
this.setRequestHeader('Authorization', 'Bearer 64565dfgfdsjweiuvbiuyhiueygf');
this.realSend(vData);
};
XMLHttpRequest.prototype.send = newSend;
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.