Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting 'blocked:other' error status from the browser - In Angular application, I made a rest api call to fetch the information from the server

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.

like image 236
RajuPedda Avatar asked Nov 30 '22 21:11

RajuPedda


1 Answers

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

like image 52
RajuPedda Avatar answered Dec 04 '22 12:12

RajuPedda