Level 23
if you encrypt it, your frontend will need to decrypt it to show it to the user. and your frontend will need to know HOW to decrypt it.. and as its frontend anyone can see the algorithm you use to decrypt so its pretty pointless
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am wondering is there a way to encrypt decrypt json data sent from laravel api?
Why? Well because when I open network tab I can see the response with all data, but when I look up to facebook responses everything is encrypted. Is it because of https because I am on localhost or is there an additional encryption in backend and encryption in frontend?
Please or to participate in this conversation.