Last active
September 7, 2021 08:19
-
-
Save ArtisanTinkerer/12259cc34de378ae2acac630105d8be4 to your computer and use it in GitHub Desktop.
patch with Guzzle
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
/** | |
* @test | |
*/ | |
public function enableSignedWebhook(): void | |
{ | |
$token = getenv('SENDGRID_API_KEY'); | |
$response = Http::withToken($token) | |
->asJson() | |
->patch('https://api.sendgrid.com/v3/user/webhooks/event/settings/signed', ['enabled' => true]); | |
$this->assertTrue(true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment