Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Curl Config. #12

Open
thisanimus opened this issue May 14, 2019 · 0 comments
Open

Curl Config. #12

thisanimus opened this issue May 14, 2019 · 0 comments

Comments

@thisanimus
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant