Quantcast
Channel: Questions in topic: "webrequest"
Viewing all articles
Browse latest Browse all 387

Prevent UnityWebRequest.url from decoding string

$
0
0
I'm trying to make a request to a url that contains %2F as part of the url var myUrl = "http://mydatabase.com/coolFolder%2FcoolFile"; However, when I enter this url in to a UnityWebRequest either via the constructor: var request = new UnityWebRequest(myUrl); or via the property: request.url = myUrl; the url becomes "http://mydatabase.com/coolFolder/coolFile" And that will not let me access the proper url, so my request will fail. I assume Unity is decoding that behind the scenes and I cannot figure out any way to bypass that. Help?

Viewing all articles
Browse latest Browse all 387

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>