Error while running http get from Aws lambda

Hello ,

I am trying to call following url

It giving me error 400 and invalid token error.

Same url is working from Postman tool.

Same url givin error while calling from

Looking forward for help.

Thanks in advance.


Found the problem. I have to use IP instead of domain name.