[Vuejs]-How to pass the query params value in hidden format vuejs

-1👍

The query params you want to hide don’t look very confidential, so why need to hide the params?

Besides, as far as I understand, you cannot hide the query parameters. Even if you use the post method instead of the get method, you can still see the passed parameters in the network request.

One way to hide (not hide actually) the query params is to encrypt the params to make it a difficult read. Here is an example to do this. Give a read to this article as well.

But again, encryption requires many other things in the box too, and encryption is needed only for confidential data. So, I would suggest figuring out your use case first and deciding why you need to hide the parameters.

Leave a comment