ifttt webhook returns 403 (it works with curl)

205 views Asked by At

I want to automatize a task, and the last step is to trigger a webhook on github. I am using ifttt "Make a web request"

This request works with curl

curl --location --request POST 'https://api.github.com/repos/wiso/TemperaturaUfficio/dispatches?event_type=webhook' \
--header 'Accept: application/vnd.github+json' \
--header 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXX' \
--header 'Content-Type: application/json' \
--data-raw '{
    "event_type": "test_webhook"
}'

I am trying to do the same with ifttt:

enter image description here

I get:

Your server returned a 403. Unable to make web request to https://api.github.com/repos/wiso/TemperaturaUfficio/dispatches?event_type=webhook
0

There are 0 answers