- Home /
How to stop WWW from changing request url?
So I am trying to use WWW to make REST API calls through a local proxy. Hence, request URLs look something like this: http://localhost:8080/https://abc.com/a/b
But when I pass this url into WWW, it 'autocorrects' it to http://localhost:8080/https:/abc.com/a/b This was a problem with Unity Web Request too, hence I used WWW, but with the new 2017 update, I guess they included it in WWW as well Is there a workaround?
Comment
Answer by FortisVenaliter · Jul 13, 2017 at 07:43 PM
I'm not familiar with the REST API or your proxy, but the second URL is essentially an argument right? So, I would think the best practice with something like this would be to make sure the second URL was properly % escaped.