R
Rob
Hello to all,
I'm trying to send an http command. The supplier of the service I have to
use said me that I have not to send the URI string encoded, it means,
special characters have not to be sent encoded, for example, " has NOT TO be
send as %22, space has NOT TO be send as %20, Û has NOT TO BE send as
%C3%9B.
How can I do that?. For the request I use the following:
Dim req As Net.HttpWebRequest =
CType(Net.WebRequest.Create(requestUriString), Net.HttpWebRequest)
Dim response As Net.HttpWebResponse =
CType(req.GetResponse(), Net.HttpWebResponse)
and I can see that req.Address.AbsoluteUri is always encoded.
Thanks for help!
I'm trying to send an http command. The supplier of the service I have to
use said me that I have not to send the URI string encoded, it means,
special characters have not to be sent encoded, for example, " has NOT TO be
send as %22, space has NOT TO be send as %20, Û has NOT TO BE send as
%C3%9B.
How can I do that?. For the request I use the following:
Dim req As Net.HttpWebRequest =
CType(Net.WebRequest.Create(requestUriString), Net.HttpWebRequest)
Dim response As Net.HttpWebResponse =
CType(req.GetResponse(), Net.HttpWebResponse)
and I can see that req.Address.AbsoluteUri is always encoded.
Thanks for help!