How do get generate URL endpoint on Wappler?

I’m not able to get Wappler to provide a URL endpoint for Webhook request. This URL is what I’d provide to 3rd party app like IFTTT as the Webhook URL.

I have read that there’s working around from @Apple replies. Would you kindly help me with implementing this work around?

Hi there,

You create a standard Server Action, do you know how to get the URL of such Server Action? (Preview in browser)

Your webhook is the Server Action

Thanks for your quick response @Apple The URL I got in preview in browser after creating the api is http://localhost:8100/api/getwebhookdata

Using this throws an error when I tried using it. Is that due to current development on local server?

It could be if you use localhost instead of a dynamic ip or static Ip.

Try to deploy it on a server (like a droplet) and it should work.

1 Like

localhost is only accessible on your local computer, you can’t put that URL in any remote service.

You can use tunneling services like ngrok to obtain a public URL you can share while developing the website:

In real life, once your website is deployed, you use your website’s URL on the webhook (instead of localhost).

1 Like