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
질문됨 2달 전138회 조회
1개 답변
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
답변함 2달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠