I'm trying to execute the following http command in s#
I've encoded the url within the http message as that is required by the system I'm sending the command to. However, after I execute the following
string url =? ""
HttpClient client = new HttpClient();
HttpClientRequest request = new HttpClientRequest();
HttpClientResponse response;
request.KeepAlive = false;
request.Url.Parse(url);
When I print the url to the console by executing?
CrestronConsole.Printline(request.Url.ToString());??
I get the following:
The encoding I included in the url string has been removed and the other system rejects the command.??
Any ideas on how I can get S# to leave the encoding in my url string in place, or any other solution to this problem, would be greatly appreciated.
Thanks in advance for the help
Jay?