Hi,
I’m using the http connector component and I’m passing in an input field which contains my GET url. When I run the graph I get an invalid uri error. I’m not sure why cause the url works in the browser. Here’s the error I’m getting.
“invalid uri: http://www.mydoman.com/add-trackingInfo … 4-08&items[ABCD1234]=2&cost=4.47 : invalid request”
Thanks.
Hi pOctavian,
in uri must be escaped special characters:
http://www.mydoman.com/add-trackingInfo?id=212&order_id=11&tracking_number=9400110200793596422910&carrier=USPS&ship_date=2011-04-08&items%5bABCD1234%5d=2&cost=4.47
…in this case “[” and “]”. See for example http://www.blooberry.com/indexdot/html/ … coding.htm for reference.
Hi kubosj,
Thanks for your help. It’s now working.
I tried using escapeUrl() to automatically look for especial characters that must be escaped and it’s not working. I tried escapeUrl(http://www.mydomain.com/add-shipment?id=111&items[122]=2) and it’s not encoding the special characters.
Any thoughts?
Thanks.
Hi pOctavian,
it is bug, I reported it: https://bug.javlin.eu/browse/CL-2238 (workaround contained)
Thank you for reporting!