question

Matt Kruse avatar image
Matt Kruse asked

Problems Resolved (ex: Content-Length) - Use POST not GET!

I'm a little embarassed to admit that I have resolved my previous problems, and I now have a working endpoint with Node.js. The root problem was that I was expecting GET to the endpoint, while the Echo actually does a POST. I checked back to the docs, and they do say this, but I didn't read closely enough. And it wasn't obvious in any of my tests that this was the case. I have actually set up 3 different Node.js environments on the cloud, trying to get this to work. In all 3 cases, once I switched from app.get() to app.post(), the apps began working. Stupid me. Hopefully others with the same dumb error will find this post and save themselves some time. :)
alexa skills kitsubmission testing certification
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

rgr@amazon avatar image
rgr@amazon answered
Thanks you very much for sharing this with the community, In the current implementation HTTP POST is used to send request to Alexa Application Services which is outlined in details here. https://developer.amazon.com/public/solutions/devices/echo/alexa-app-kit/docs/alexa-appkit-app-interface-reference
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

GiantsFanatic avatar image
GiantsFanatic answered
Thank you so much for posting this update. Exactly the problem I was having.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.