Ouvrir un tunnel

Les vonage tunnel <which> peut être utilisée pour ouvrir un tunnel afin de tester les webhooks.

ngrok

Vous pouvez ouvrir un tunnel ngrok à l'aide de la commande vonage tunnel ngrok <id>id est l'identifiant de votre application.

Les drapeaux suivants peuvent être utilisés pour configurer le tunnel ngrok :

Drapeau Description Type
--auth-token Jeton d'authentification Ngrok Chaîne
--subdomain Définir un sous-domaine ngrok Chaîne
--port Le port ngrok transmettra à Nombre (par défaut : 3000)
--region Une des régions de ngrok Il doit s'agir de l'un d'entre eux : "us", "eu", "au", "ap", "sa", "jp", "in" (par défaut : "us")
vonage tunnel ngrok "4f4d4831-1491-41d4-be82-689c78e09997"

⚠️ ⚠️ This will update the all the WebHooks for your application ⚠️ ⚠️
This will cause WebHooks to directed to Ngrok instead of your servers
Use caution when using with production applications.
You have been warned

Are you sure you want to continue? [y/n] y
✅ Fetching Application
✅ Opening us ngrok tunnel to port 3000

Ngrok is running
Forwarding: 
Web Interface: http://127.0.0.1:4040;
Press q to quit