Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

nabilkrs's avatar

Hide API info from network tab Laravel, Vuejs

I have a platform built with Laravel and Vuejs. I built the APIs with Laravel and I'm using those APIs with Vuejs but I have a problem. When I open the dev tools and navigate to the Network tab I find the API that I'm using based on the screen that I'm in I found the API endpoint and the payload and everything. How can I hide them?

0 likes
4 replies
tykus's avatar

You cannot hide them as the web application developer; the browser records the Network activity unless it has been disabled in the browser settings.

What are you concerned about specifically?

1 like
nabilkrs's avatar

@tykus I don't want the user to know the endpoints or any HTTP response data

Tray2's avatar

@nabilkrs Then you shouldn't create a webapp. 95% of the users wouldn't now what any of it means anyway.

Please or to participate in this conversation.