-2

I tried using '%40' to replace '@', but there are other numbers in the password. I need to use this in Java. Please help. Thanks in advance.

  • You should not transfer sensitive data like passwords through a URL. Instead you could use for instance a POST request. – Spark Fountain Feb 03 '20 at 13:24
  • URL passwords are being phased out. Use `Authorization` header instead. – Amadan Feb 04 '20 at 04:14
  • @GSerg. No sir. My URL is like this "https://lavanya:password@123@www.mysight.com". I tried in my java code like this "https://lavanya:password%40123@www.mysight.com". This wont work and didnt work – Lavanya Ramesh Feb 05 '20 at 04:32

1 Answers1

-2

https://www.url-encode-decode.com/ visit the site and give ur url and then click encode to get the encoded url

selva
  • 1
  • 3
  • Hello and welcome to StackOverflow. Please take some time to read the help page, especially the sections named ["What topics can I ask about here?"](http://stackoverflow.com/help/on-topic) and ["What types of questions should I avoid asking?"](http://stackoverflow.com/help/dont-ask). And more importantly, please read [the Stack Overflow question checklist](http://meta.stackexchange.com/q/156810/204922). You might also want to learn about [Minimal, Complete, and Verifiable Examples](http://stackoverflow.com/help/mcve). – Alessandro Mandelli Feb 03 '20 at 13:16