Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am trying to develop a talend job that gets token from tHttpRequest component with the Post method but I am getting an error status :
401 Unauthorized.
When i tried to replicate the same using postman it was working. Below I have attached screenshot of my tHttpRequest, my json file and my test scenarios in postman for reference.
Can you help me to find what’s wrong ?
Thanks
Hello @M CANTAL ,
Please try to add one Header key="Content-Type" with value="application/json" in tHttpRequest component like the below to re-try?
Best regards
Aiming
Hello @M CANTAL ,
Please try to add one Header key="Content-Type" with value="application/json" in tHttpRequest component like the below to re-try?
Best regards
Aiming
Perfect, it's working.
Thanks.