Sorry, don't know much about invoking web services and json...if it's a json error, i won't be able to help.
If it is an escape issue, you can try "Escape Text"....take your original text, throw it into the "Escape Text" action and then the variable %EscapedText% should work in place of the URL.
If this doesn't work, I wonder if it is a json issue and you have to escape the same text for json's rules.
Best of luck!