craftcms / webhooks

Plugin for integrating Craft with Zapier and IFTTT.
https://plugins.craftcms.com/webhooks
MIT License
84 stars 12 forks source link

Two Requests Sent for Each Event #94

Open kmgdevelopment opened 3 months ago

kmgdevelopment commented 3 months ago

Description

I have a very basic GET webhook set up to run for Entry elements on the afterSave event. While testing, when I save an entry and then look at the Webhooks plugin Activity panel, there are two requests where I expect to be just one. Similarly my recipient app logs two incoming requests. Both have 200 response statuses so it wasn't a retry (and even if it was I don't think retries log as separate requests). This also happens with POST requests.

Screenshot 2024-08-11 at 3 00 03 PM

Steps to reproduce

  1. Create a new webhook
  2. Set the element to craft\elements\Entry
  3. Set the event to afterSave
  4. Leave the Event Filters at default
  5. Leave Debounce Key Format blank
  6. Set request type to GET and set the webhook URL
  7. Leave Custom Headers blank
  8. Open an existing entry and save

Additional info

Amazon S3 2.2.1 Asset Rev 7.0.0 CKEditor 3.8.3 Element API 4.1.0 Super Table 3.0.14 Webhooks 3.1.0