当我使用step函数调用API网关时,我填写了“Headers.$”:“$.input.headers”,但是当我测试它时,它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"
}
}
Run Code Online (Sandbox Code Playgroud)
它不起作用,任何人都可以给我这个标题字段的示例吗?
万分感激!