cURL error 3: (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

Posted by

Error :-

local.ERROR: Something went wrong while fetching Pinterest API in fetchPinterestData: cURL error 3: (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

Reason:-

Solution:-

 $client = new Client(['base_uri' => 'http://pinterest']);
            $response = $client->post('/api/getPinterestData', [
                'json' => [
                    'username' => $username // Pass the extracted username in the request body as JSON
                ]
            ]);

Env:-

PINTEREST_BASE_URL=http://pinterest

PINTEREST_FETCH_PINTEREST_URL=/api/getPinterestData

Hopefully, it will help you!!!

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x