When I used the step function to invoke API Gateway, I filled the "Headers.$": "$.input.headers", but when I test it, it gives me could not be used to start the Task: [The value of the field 'Headers' has an invalid format] every time, I tried this
could not be used to start the Task: [The value of the field 'Headers' has an invalid format]
"input": { "headers": { "Authorization": "abcd", "Content-Type": "application-json" } }
it doesn't work, could anyone give me an example of this headers field?
Really appreciate!
2.1m questions
2.1m answers
60 comments
57.0k users