craft3-jsonclient
craft3-jsonclient copied to clipboard
Curl Config.
I'm working with an API that uses redirects. craft3-jsonclient can't access the parts of the API that use redirects. This can be fixed by adding the following config to the getUrl() method:
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
Would you consider making this change?