claudiajs / example-projects

Simple example projects that show how to use ClaudiaJs
650 stars 235 forks source link

Pass custom headers through Amazon API Gateway #37

Closed sebastienfi closed 5 years ago

sebastienfi commented 5 years ago

Hi Team!

How to pass custom headers through Amazon API Gateway with ClaudiaJS?

A POST route built with ApiBuilder does not receive natively the custom headers. An external provider realizes a POST every minute to an endpoint of our API Gateway. This provider offers important information only as POST Headers. These information changes at every POST. I need to access these custom headers values in the Lambda...

It's about configuring the Request Headers, not the Response headers ;)

Any help much appreciated...

sebastienfi commented 5 years ago

@gojko Why closing my question? I don't have my answer :) I'm also sure this would help others.

gojko commented 5 years ago

we use github issues only for bugs, questions should go to the gitter chat channel. you already posted the question there so I thought that it's not important to explain the channel link here again