Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I wanted to post the body data into the website using talend
i am able to do it in postman but, i don't know how to do it in talend
postman Image:
i am unable to give the body data as like in postman
@mukeshmsp96 ,check the below way. and http body should be as below.this should work. I have already used the tRest component with post method.
"
{
\"name\":\"mukesh\"
}
"
this isn't working is there any another way resolve this problem
@mukeshmsp96 ,what error are you getting. are you using same url which tried from post man?
yes, i am using the same url from the postman
error 403 which belongs to credentials where should i give the authorization crediantails
i have checked that solution but i wasn't able to set the body in trestclient but in trest i was able to set the body
but, the problem is in trestclient the credentials are working but not working in the trest component
@mukeshmsp96 ,can you try to pass the below way and let me know is it working.
no it gives an error
Hey mukeshmsp96
Try to use tREST component , you can simply pass body :
For testing purpose you can use endpoints from postman https://docs.postman-echo.com/?version=latest
Lucjan