Skip navigation
MareleADI
Currently Being Moderated

HTTP Service url and special characters: "space, ' "?

Jan 19, 2013 1:48 PM

Hello,

 

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?

 
Replies
  • Currently Being Moderated
    Jan 21, 2013 12:22 AM   in reply to MareleADI

    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.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points