トンネルを開く

について vonage tunnel <which> コマンドを使ってトンネルを開き、ウェブフックをテストすることができる。

ングロク

を使用して ngrok トンネルを開くことができます。 vonage tunnel ngrok <id>ここで id はアプリケーションのIDです。

以下のフラグを使用して、ngrokトンネルを設定することができる:

フラッグ 説明 タイプ
--auth-token Ngrok 認証トークン ストリング
--subdomain ngrokサブドメインを設定する ストリング
--port ngrokが転送するポート Numbers(デフォルト: 3000)
--region ングロク地方のひとつ のいずれかでなければならない: "us", "eu", "au", "ap", "sa", "jp", "in" (デフォルト): "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