invoking a service using trestClient

Four Stars

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

 

Community Manager

Re: invoking a service using trestClient

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

Four Stars

Re: invoking a service using trestClient

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

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads