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

Curl Config. #12

@thisanimus

Description

@thisanimus

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions