craftcms / webhooks

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

Request Method & URL as an environment variable #30

Closed jamiewade closed 4 years ago

jamiewade commented 4 years ago

I have added an environment variable to my .env:

CLC_AFTER_ENTRY_DELETE="https://www.google.co.uk/"

And when I use that variable in my Webhook settings, I get this error:

screenshot

URL is not a valid URL.

What am I doing wrong?

Craft CMS 3.4.17.1 Webhooks: 2.2.0

cjativa commented 4 years ago

Hi I see this same error. image

sjelfull commented 4 years ago

+1. The documentation mention its possible, but its not released. You can install preview by checking out #18

brandonkelly commented 4 years ago

Yeah sorry, just changed the repo’s default branch to master so the readme only mentions shipped features. We’ll be releasing 2.3.0 soon with the new URL environment variable support.

jamiewade commented 4 years ago

Thanks Brandon!

brandonkelly commented 4 years ago

2.3.0 is out now with that feature.