I am working with tRestClient component for the very first time, I need to send certain parameters in the URL using POST Method of tRestClient component.
Below is the URL that I am trying to put in URL Section of the component.
\",\"response\":\"Successfull RPA process for 2414\",\"comment\": \"123456789\"}&createTask=false&parts=all"
However, I am getting below Error :
Exception in component tRESTClient_1 (ReadData_1)
javax.ws.rs.ProcessingException: java.io.IOException: java.net.URISyntaxException: Illegal character in query at index 112: http://<URL>/rest/bpm/wle/v1/service/UNICO@RPARecieveIntegrationResponse?action=start¶ms={"jobstatus":"Success", "xrefid": "2414","markComplete": "Y","performer": "MyJob@ad.eisi.abc.com","response":"Successfull RPA process for 2414","comment": "123456789"}&createTask=false&parts=all
at org.apache.cxf.jaxrs.client.AbstractClient.checkClientException(AbstractClient.java:638)
at org.apache.cxf.jaxrs.client.AbstractClient.preProcessResult(AbstractClient.java:614)
at org.apache.cxf.jaxrs.client.WebClient.doResponse(WebClient.java:1115)
at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1052)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:897)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:866)
at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:334)
at org.apache.cxf.jaxrs.client.WebClient.post(WebClient.java:343)
at talend_datamigration_gsp.readdata_1_0_1.ReadData_1.tRESTClient_1Process(ReadData_1.java:852)
at talend_datamigration_gsp.readdata_1_0_1.ReadData_1.runJobInTOS(ReadData_1.java:3127)
at talend_datamigration_gsp.readdata_1_0_1.ReadData_1.main(ReadData_1.java:2927)
Please note, this is { the character is at index 112.