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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tREST with POST method in JSON format throwing error.

Hello Everyone,
I am new to Talend and web services. I need your help on this.
the version of Talend that I have is Talend Open Studio for Big Data(Version: 6.1.0).
I am trying to connect to an external web service to fetch data. I have used tREST component for the workflow.
Method is : POST
HTTP Headers:  'Content-Type' , 'application/json'
                          'Accept' , 'application/json'
                     'Transfer-Encoding' , 'chunked'
HTTP Body :   {
  "authDetails": {
    "memberId": "mid",
    "userId": "uid",
    "sessionKey": "sKey",
    "role": "Pittch"
                  },   "resId": "201503271601FLYWALL_USEQUITY_424",   "sh

To see the whole post, download it here
Labels (5)
2 Replies
Anonymous
Not applicable
Author

Hi,
Have you already tried to use tRestClient component to post a request with your json format to see if it works?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
I am new for talend, i am also facing same issue, not able to achive this even with tRESTclient
could any one please let me know with example
Thanks
shareen