Q: Testing webhook on development server with Terra
ProgressiveBee9 months ago
I have been trying to setup a webhook on my development environment with Terra API but I keep recieving the message "Failed to reach url https://localhost:8080", what am I missing here or are there some other configurations I must setup?
Matthewadmin9 months ago
Hi there,
The issue here is that Terra (like most APIs) can only access URLs that are publically available via the internet. However it seems you are attempting to provide a loopback URL which is only available within your machine and local testing environment; if you wish to test your local server with Terra, try using a software like Ngrok like so:
Setup Ngrok by creating an account and downloading the CLI tool
Open your terminal and navigate to your project
Run the command ngrok http 8080
Copy the Forwarding url + your webhook path
Paste this on the dashboard when setting up your webhook
ProgressiveBee9 months ago
Got it, it's working now
Cookie Preferences
Essential CookiesAlways On
Advertisement Cookies
Analytics Cookies
Crunch Time: Embrace the Cookie Monster Within!
We use cookies to enhance your browsing experience and analyse our traffic. By clicking “Accept All”, you consent to our use of cookies according to our Cookie Policy. You can change your mind any time by visiting out cookie policy.