faultstring action is a required property
doing-cr7 opened this issue · 0 comments
doing-cr7 commented
flowing this post https://api.stackstorm.com/api/v1/executions/#/action_executions_controller.post
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"}