Recent searches
No recent searches
ZIS flow custom action passing and access header values like retry-after
Answered
Posted Jan 18, 2024
A typical ZIS custom state can be passed like this:
"xxx": {
"Type": "Action",
"ActionName": "<custom-action-name">
"Parameters": {
<here are the parameters>
},
"ResultPath": "<name of the variable to pass the response>",
"Next": "<nextaction>"
},
So in the variable of "ResultPath" I can access to the response, but I need to access to the header of the response. Any idea?
0
1
1 comment
Tipene Hughes
Unfortunately the response headers are not currently accessible in HTTP responses. Our team are aware of this as a feature gap and will be considering it for future updates.
Sorry I couldn't be more help!
Tipene
0