Hello ,Im using a rest service and have to send base64 encoded password to rest service.What is the best way to encode a string in ionic 3 ?
That’s a really weird requirement that makes me moderately concerned about the design of said service, but I guess the answer to your question is btoa.
1 Like
thanks ! I was looking way from a angular libraries.