Skip to content

Auth API supports for Curl CURLOPT_PROXY option #319

@benoitrambaud

Description

@benoitrambaud

Hi,

For those who need to make Mautic API calls behind a proxy server, here is a code update for the AbstractAuth class.
This simply adds support for the Curl CURLOPT_PROXY option.

(see mautic.zip)

Usage :

$initAuth = new ApiAuth();
$auth = $initAuth->newAuth($settings);
$auth->setCurlProxyUrl("https://myproxy.net:8888");

+++
Benoit

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