StackStorm/st2

faultstring action is a required property

doing-cr7 opened this issue · 0 comments

flowing this post https://api.stackstorm.com/api/v1/executions/#/action_executions_controller.post
CleanShot 2023-06-15 at 16 34 58@2x

i try execute a post of HTTP

curl -X POST http://st2/api/v1/executions -H "St2-Api-Key: NTEQ" --data-binary '{"action":"core.remote", "parameters": {"cmd": "docker restart nginx","hosts": "10.0.0.1","username": "root","port": 22}}'

but i get a unexpected respone

{"faultstring":"'action' is a required property"}