You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need webhooks not to be triggered by WebAPI rest calls as it'll cause a never ending loop of events with my remote system.
I put this in the handler as a short term fix:
if($_POST['ignorewebhooks']=='true')
{
return;
}
I use the MoodleRest PHP SDK so it's easy for me to add addition data to the API post, but it might be worth enabling other methods of the webhooks not being triggered?
client IP address?
bool value on the chosen event
Good work thanks
The text was updated successfully, but these errors were encountered:
I need webhooks not to be triggered by WebAPI rest calls as it'll cause a never ending loop of events with my remote system.
I put this in the handler as a short term fix:
if($_POST['ignorewebhooks']=='true')
{
return;
}
I use the MoodleRest PHP SDK so it's easy for me to add addition data to the API post, but it might be worth enabling other methods of the webhooks not being triggered?
client IP address?
bool value on the chosen event
Good work thanks
The text was updated successfully, but these errors were encountered: