Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have two columns coming out of tFilterRow, then connects to tFlowToIterate. I need to use the values in one of the columns (username) in tRESTClient component.
Is that possible to do?
Thank you in advance
Hello,
To call the value of the username in your api call you must do ((String)globalMap.get("row1.username"))
Thank you Dave_Simo,
I update the job, now getting this error:
ERROR] 08:36:58 org.apache.cxf.jaxrs.utils.JAXRSUtils- No message body reader has been found for class org.dom4j.Document, ContentType: text/html;charset=utf-8
Exception in component tRESTClient_1
Hello,
In your case since it is a POST, you must put your json in a tFixedFlowInput a bit like in the design below
1)
2)
3) a tWarn to catch the error
Best Regards,
Thank you Dave_Simo,
My API call does not have a JSON body. It is of this format (works in postman):
https://xxxyyyzzz.com/sharing/rest/community/users/<username>/disable?token=<token value>
The username is the variable that I need to feed into the API call. In my case, username is the output from tMap component, that I am feeding into tFlowToItrerate component to handle multiple rows of username.
I am not sure I am using the correct components or logic as I am fairy new to this.
Hello,
If the call works in Postman it should work in the tRestClient, you should put the same header values as in Postman.
Try adding this in the header in advanced settings
Best Rgards