Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I am very new to Talend. I am stuck with completing the Talend job. My problem is when we pass a Base64 string value to an API which component is suitable. Is it tRest or tRestclient? And i need to put that string value to the body of API. I used post method and tried once. Then an error came as "414 URI too long". if someone can help me to find a solution for this, it would be great.
Thanks,
Thirunika
Thanks fdenis for your response. I have checked the base64 string using "Postman". There's no error with the string value. I need to know how to connect that value to tRESTClient component's body. I am using POST method. What needs to be fill in the basic settings?
Thanks & Regards,
SThirunika
This is the job I created to get the string value. I have used tFileProperties to get the other values for my validations. Currently I have deactivated the tRESTClient. Below image shows the values i am taking from tFileProperties.
And the below image is a part of the Base64 string value. That string value is connected to a context variable.
Below picture shows the java code, which was used to get the string value.