Skip to content

Instantly share code, notes, and snippets.

@mdzidic
Created October 6, 2017 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mdzidic/9e9854f0701e624f63cce4e4278acb05 to your computer and use it in GitHub Desktop.
Save mdzidic/9e9854f0701e624f63cce4e4278acb05 to your computer and use it in GitHub Desktop.
curl
notify_api:
cmd.cmd.run:
- tgt: {{ data['id'] }}
- arg:
- curl -X POST https://api-server/api -H \'Content-Type: application/json\' --data \'{"abc": "val1", "dfg": "val2"}\'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment