Closed mrpatrickwest closed 9 years ago
You can pass additional CURL options to the execSelect( ) function defined in utils.php. I believe you can add 'CURLOPT_FOLLOWLOCATION => true' to the array of additional options to get the desired behavior.
I have updated the rds.php example with this CURL option being supplied. 8704b50c90432adb96e14c3618a66d7865c878e5
Should be a default option. There's no reason for the s2s php code to have returned to it a 302 html page instead of the requested xml. It should be one of the default options.
Added a rewrite rule to the apache web server configuration. This caused the endpoint to return a 302 response to the php code, which is a permanent address change. We need to be able to follow redirects in the curl options.