-
-
Save mdzidic/8e725d3e29f9e0a7d6c35eb862ab6baf to your computer and use it in GitHub Desktop.
Post to api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
notify_api: | |
local.http.query: | |
- tgt: {{ data['id'] }} | |
- arg: | |
- 'https://api-server/api' | |
- method='POST' | |
- data='{"name":"{{ data['id']|string }}", "ip":"{{ IP_ADDRESS }}"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment