Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hiding Angular API calls from developers tool network of browser

When, I am hitting one API calls from Angular to Backend, the API call I can see in "Network" section of "Developer's tool"(ctrl+shift+i). I want to hide the API calls from the "network" list. As, I have seen in some websites they are hiding the API calls. Means, datas are coming but it is not being listed in the developer's tool. What should I do?

For example, hitting this websites url https://track.aftership.com/shreetirupati/115601676472 or http://www.shreetirupaticourier.net/Frm_DocTrack.aspx?docno=115601676472, is not hitting any API, does this mean they are accessing data directly from DB in front-end?

like image 828
Satish Patro Avatar asked Feb 28 '19 13:02

Satish Patro


People also ask

How API calls are made in angular?

We usually make API calls to remote HTTP servers via HttpClient module of Angular 10 by sending HTTP requests. HttpClient has methods which perform HTTP requests. HttpClient is an injectable class for Angular 10.


1 Answers

There is nothing that you can do for hiding service calls from Chrome DevTools. You can only authenticate user if you want to provide secure calls.

Recommend you to read this: stackoverflow.com/a/53630102/5955138

like image 178
rcanpahali Avatar answered Sep 20 '22 10:09

rcanpahali