unescape after server.urlencode
<p>I am trying to send "get" request to third party (api).</p>

<p>this api using javascript function "unescape" to get the url parametrs.</p>

<p>from my server side I am using this code</p>

<pre><code> string apiGetRequest = String.Format("someUrl?name={0}&amp;city={1}&amp;CREATEBY=test", HttpContext.Current.Server.UrlEncode(name), HttpContext.Current.Server.UrlEncode(city));
        HttpWebRequest req = (HttpWebRequest)WebRequest.Create(apiGetRequest);
        req.GetResponse(); 
</code></pre>

<p>as you can see I am using Server.UrlEncode to encode the parameters(I tried also htmlencode) but it seems that unscape can't decode the original parameters</p>

<p>I test it with javascript function "encodeuri" and it's working just fine.</p>

<p>as I said before the "unescape" is used by third party and I can't change it to "encodeuri"</p>

<p>How can I send from server side encoding that the unescape will be able to decode?</p>

<p>thanks for any help</p>
