I am just starting to write a client(for me) for Dynamic DNS and have a problem
the client should be able to send something like this(their API) https://username:password@www.dnsdynamic.org/api/?hostname=techno.ns360.info&myip=127.0.0.1
so i write
string URI = @"https://User:1111111111@www.dnsdynamic.org/api/?
hostname=MyHost.ns360.info&myip=127.0.0.1"
WebRequest req = WebRequest.Create(URI);
But i get Invalid Port Specified which makes me believe it is trying to send it on the 1111111 port of the password.
It works perfectly from the browser by the way
How can I fix this? Also is this even secure sending the password in the URL?