exampleContext | ||
---|---|---|
|
As the author of a software component
I want to verify that it sends a webhook request
Given I have a Webhook Receiver
And the endpoint is ${webhookReceiver}
When I POST to ./hook
with this JSON
{
"foo": "bar"
}
Then the response status code should be 202
And the Webhook Receiver hook
should be called
And the webhook request body should equal this JSON
{
"foo": "bar"
}