Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to test a local bot?

I developed a simple bot on my machine (http://localhost:3978). I would like to embed a custom chat client in my web site using direct line API. Is there a way I can test this without deploying my bot to an Azure website ? I would like to be able to debug on my local machine (without having to do Azure remote debugging...).

I tried to register my bot with a localhost endpoint (http without basic auth and https) but it did not work...

like image 584
ben Avatar asked Sep 10 '25 13:09

ben


1 Answers

one of the possible solution is to use ngrok that creates a "fake" https endpoint forwarding to your local machine

https://ngrok.com/

I tested it successfully with facebook messenger platform on a windows laptop

like image 123
Mohus Avatar answered Sep 13 '25 09:09

Mohus