Localhost Dev & Webhooks
When using a local server to receive messages from Mergent, you need to expose your local development environment to the internet.
After installing ngrok, you can expose your localhost by running
./ngrok http 3000
on the command line. 3000 is the port number on which our server will listen for messages. You should see a line that looks something like this:$ Forwarding http://3j4oq7db.ngrok.io -> 127.0.0.1:3000
Make a note of the
*.ngrok.io
URL and send it to Mergent as your Task/Schedule's request URL.Last modified 8mo ago