I am trying to get data from tableau using http connector but I am getting 302 redirect error, though the same api is working in Postman

I am trying to get data from tableau using http connector but I am getting 302 redirect error, though the same api is working in Postman