Created
April 24, 2021 09:14
-
-
Save MrMooky/07bb7bd6eafe978318301bd25aea9d30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$response = Http::withHeaders([ | |
"X-Auth-Token" => config('services.getresponse.api_key') | |
])->post('https://api.getresponse.com/v3/contacts', [ | |
"name" => $user->name, | |
"email" => $user->email, | |
"campaign" => [ | |
"campaignId" => config('services.getresponse.list_token') | |
] | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment