Issue
Sample requested rest API URL: http://basepath/controller/api?bannerId=1&value=23
Getting browser error status: blocked:other
, when we made an HTTP call to the server from the Angular application.
Solution
When we have query params like 'adBanner', 'ad' & 'bannerId' etc.. in the API url, it will be blocked by 'AdBlock' extension from the browser. In my case, there is a 'bannerId' keyword in the query params. So it is blocked by the browser extension.
For other keywords which are used by AdBlocker, please refer to the below url https://easylist.to/easylist/easylist.txt.
https://stackoverflow.com/a/33174424/5722465
Answered By - RajuPedda
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.