Einen Tunnel öffnen
Die vonage tunnel <which> können Sie einen Tunnel öffnen, um Webhooks zu testen.
ngrok
Sie können einen ngrok-Tunnel mit dem Befehl vonage tunnel ngrok <id>, wobei id ist die ID Ihrer Anwendung.
Die folgenden Flags können verwendet werden, um den ngrok-Tunnel zu konfigurieren:
| Flagge | Beschreibung | Typ |
|---|---|---|
--auth-token | Ngrok-Autorisierungstoken | Zeichenfolge |
--subdomain | Eine ngrok-Subdomäne festlegen | Zeichenfolge |
--port | Der Port ngrok wird weitergeleitet an | Numbers (Standard: 3000) |
--region | Eine der Ngrok-Regionen | Muss eines der folgenden sein: "us", "eu", "au", "ap", "sa", "jp", "in" (Standard: "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
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
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