Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to test the amazon alexa custom skill through your computer while in development phase?

I am trying to use the sample code provided for Amazon Alexa API, and trying to run hello world / history buff examples through the computer. How do I test from my local machine, about the request and response formats. In the README file it is given to visit this website : http://echo.amazon.com/#skills, but I could see nothing there as it mentions more about connecting to the device. I dont have the device, but I would like to test things locally through my laptop.

like image 708
vidyasagarr7 Avatar asked May 04 '16 05:05

vidyasagarr7


2 Answers

We have a tool that we built specifically for this purpose: https://bespoken.tools/blog/2016/08/24/introducing-bst-proxy-for-alexa-skill-development

Requests and responses from Alexa will be sent directly to your development laptop, so that you can quickly code and debug without having to do any deployments. We have found this to be very useful for our own development.

Our Github project is here: https://github.com/bespoken/bst

We are also adding other useful commands for Alexa development.

like image 136
John Kelvie Avatar answered Oct 26 '22 01:10

John Kelvie


Use http://ngrok.com

See my video for a tutorial:

https://youtu.be/eC2zi4WIFX0?t=108

like image 26
John Wheeler Avatar answered Oct 26 '22 03:10

John Wheeler