Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
krrohit1256
Contributor
Contributor

invoking a service using trestClient

Hi All,

I want to invoke a server using trestclient.

the URL is of the format.. 

  http://localhost:8080/user/events?FilterType=FilterID\&FilterValue=10513\&DisplayID=139

 

could you please suggest how to configure the trestClient.

Thanks,

Rohit

 

Labels (3)
2 Replies
Anonymous
Not applicable

Does that url work if you put it into a web browser? If so, it is likely a GET method. If that is the case, just use the tRestClient with that url in the URL parameter (...surrounded by quotes)

https://help.talend.com/reader/hCrOzogIwKfuR3mPf~LydA/~V42EBQClKxKQghNvzHF1g

krrohit1256
Contributor
Contributor
Author

Hi Rilhia,

i tried with curl command in the server and it worked.

Below is the error which I am getting when directly putting the URL in the trestclient..

 

Execution failed : Job compile errors
At least job "FM_AssureNow_Alarms" has a compile errors, please fix and export again.
Error Line: 898
Detail Message: Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )
There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio.

 

Could you help?

 

Thanks,

Rohit