I am trying to call a Rest API using PHP and cURL. Due to Firewall(F5) restriction, the endpoint URL is redirecting to "my.policy", sets a few cookies and again re