php - SendInBlue create contact error -


i'm working in local test sendinblue create contact.

swagger\client\configuration::getdefaultconfiguration()->setapikey('api-key', env('sendinblue_api_key'));  $api_instance = new swagger\client\api\contactsapi(); $createcontact = new swagger\client\model\createcontact();  $createcontact['email'] = 'email@gmail.com'; $createcontact['listids'] = 2;  $result = $api_instance->createcontact($createcontact);  dd($result); 

i have error...

[400] error connecting api (https://api.sendinblue.com/v3/contacts)


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -