I have a bit of problem trying to set up a HTTP Service thats pointing to a URL that has a space character and a ' character in it. I get "InvocationTargetException:Unable to connect to the URL specified " error when i test this service.
If I enter that url in a browser everything's ok , I receive back a JSON output as expected.
This is the actual URL I am talking about: http://eu.battle.net/api/wow/guild/Lightning's Blade/Myst?fields=members
How should I proces the URL to prevent this error? What should i replace space and ' with in the URL?
usually, url doesnt allow a space char, it replaced with %20, and of course the other 'unallowed' character url they'll replaced with URL-encoding. maybe you can do something with what i mean.