I am trying to connect to an AWS Lambda function through AWS API Gateway. The Authorization to do this requires a x-amz-date header within the HTTP webHook to verify it was requested within 15 minutes. (AWS’s authorization system). This date is in ISO 8601 standard format, and reflects the time the request to the API is sent.
Normally would be straight forward, but I can’t see how to include a variable header using the a GraphCool webHook. I am using the GraphCool Browser Console to set up the webHook.
The request is made in a REQUEST PIPELINE, reacting to an UPDATE mutation, using it to process payments.
Anyway to set the header dynamically?