Skip to main content
Answer

Testing a webhook locally

  • January 5, 2023
  • 1 reply
  • 130 views

Front Developer
Forum|alt.badge.img+2

I took a look at the documentation and configured a rule, and set up the webhook integration so I could listen for outgoing emails as described in this related Q&A.  My one question, is how would I set this up locally to test?  Do you have any suggestions? Cause the url is local, but sent to your servers.

Best answer by Support Engineering

The webhook address you specify for Front to send to must be something that is reachable from the Internet.

 

If you have code running on your local machine that you want to test sending these payloads to, I'd recommend a tool like ngrok or something from this list of similar tunneling tools.

 

Alternatively, if you have a staging environment you can push code to, that will likely work for you. 

 

--Jason

1 reply

Forum|alt.badge.img+5

The webhook address you specify for Front to send to must be something that is reachable from the Internet.

 

If you have code running on your local machine that you want to test sending these payloads to, I'd recommend a tool like ngrok or something from this list of similar tunneling tools.

 

Alternatively, if you have a staging environment you can push code to, that will likely work for you. 

 

--Jason