Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Http Client URL fails

I am trying to use Http Client to make an API call to a url. I need to pass into the URL some parameters so the API provider has given me a template for the call


Where I need to pass some parameters in InfoJson and my access token.

When I put this into a streamsets URL I get the Illegal character error

Pipeline Status: RUNNING_ERROR: java.lang.IllegalStateException: Illegal character "\" at position 10 is not allowed as a start of a name in a path template "infoJson={\"cat\":\"1\",\"id\":[\"6815\",\"6964\"],..."}&access_token=...".

I have used every possible way double quotes,signle queotes, backslash before quote, no backlash before quote but every time I get Illegal character error for ", ' or \

Is there a way to send a call into a URL like that?