Is there any way to encode api response from java and decode same in angular js when we read that response?
Here is detailed description, I have java code which sends an OTP to user mail after clicking login button and user has to enter the same for authentication. When I call api to send otp from angular js code that api is returning otp in response, which is required to verify whether user entered correct otp or not. issue is i can see otp by inspecting element in networks.
Can any one one tell me is there any way to hide response in networks or
get OTP(which is generated in java code and sent to mail) in angular js with out api call
or any built in methods/class which is compatible in both java and js