Looking for an example Discovery response to a ALEXA SMARTHOME skill in .NET

0

I've been able to get this to work in Nodejs, but I'm missing something about how I need to respond to the Alexa.Discovery request using .net.

the JSON I send back is identical .. but I believe I need to be doing something to wrap the response differently perhaps ? .. I did notice that the response from .net is string formatted (has " for the json quotes) where the nodejs does not ..

Steve
feita há 2 meses138 visualizações
1 Resposta
0

Ok what was not obvious to me was that the FunctionHandler needed to return an object and not a json string. I was serializing the response .. then I guess the LambdaSerializer was re-serializing or something causing it not to work.

Steve
respondido há 2 meses
profile picture
ESPECIALISTA
avaliado há um mês

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas