craft3-jsonclient icon indicating copy to clipboard operation
craft3-jsonclient copied to clipboard

Curl Config.

Open thisanimus opened this issue 5 years ago • 0 comments

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?

thisanimus avatar May 14 '19 19:05 thisanimus