I am trying to use ‘wix-http-functions’ to catch a post request made by a webhook. The problem that I am having is that I have to provide an URL to the webhook so that it will know where to send the request. When I look at the documentation it says that I should use
// URL to call this HTTP function from your published site looks like:
// Premium site - https://mysite.com/_functions/example/multiply?leftOperand=3&rightOperand=4
// Free site - https://username.wixsite.com/mysite/_functions/example/multiply?leftOperand=3&rightOperand=4
I tried using both “username.wixsite.com” and “username.editorx.io” (I am using my account username and not the word “username”), but I am still not getting the function to trigger.
I would really appreciate it if somebody can provide me with the correct URL format. Thank you in advance!