I want to hide the API names, request body, response body, headers information from the client using my website. How can i achieve that. Any Ideas?
MORE INFORMATION ABOUT MY DOUBT.
I am working for an e-commerce website, with frontend on Angular and Backend on Django REST, suppose when the frontend needs to see “shirts” then i provide all the shirts in JSON response to the frontend, bwhich then renders to the web page, but the network tab will contain ALL the API response, even with product_ids, and all.
I have never seen any e-commerce having these. for reference i would ask to go on negbuy.com once, and check fetch/XHR, request, you will know the odd, the webiste literaaly makes API calls for every action, and each of that action can be seen in network tab.