I have a skill (currently in development phase) hosted in AWS. I want to move it to a local machine instead of using lambda function. I have written an API, exposed it with ngrok publicly and configured it as an endpoint to the skill. I am able to receive the request JSON object from the Alexa skill. But I am not sure to which URL or API do I send the response JSON to.
I have received an apiEndpoint
and apiAccessToken
in the request JSON. I have tried sending the JSON to the apiEndpoint
but I got a 404 (I was expecting this as the URL did not have any skill specific ID but just gave a try). What all do I send in the JSON object and to which URL do I send it to?