Skip to content

faultstring action is a required property #5989

@doing-cr7

Description

@doing-cr7

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"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions