question

williamhoang avatar image
williamhoang asked

Configure custom header parameters for skill endpoint

Hi All, Is there any way to configure custom header parameters for skill endpoint? our service required certain header parameters which need to be passed. Regards, WH
alexa skills kitdebugging
10 |5000

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

1 Answer

jjaquinta avatar image
jjaquinta answered
No, there isn't. The best thing you can do is proxy your endpoint through a Lambda function. I.e. register a Lambda endpoint with your skill, and then have the Lambda function call your service with whatever customization you want. Search the forum for "Lambda Proxy" and you will find examples in Java and Javascript for doing this.
10 |5000

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