diff --git a/README.md b/README.md index 2d0ecb5..d1cc1f3 100644 --- a/README.md +++ b/README.md @@ -64,14 +64,23 @@ docker-compose up -d "hooks": { "Notification": [ { - "type": "command", - "command": "curl -s -X POST http://47.121.181.112:8082/hooks -H 'Content-Type: application/json' -d @-" + "matcher": "", + "hooks": [ + { + "type": "http", + "url": "http://47.121.181.112:8082/hooks" + } + ] } ], "Stop": [ { - "type": "command", - "command": "curl -s -X POST http://47.121.181.112:8082/hooks -H 'Content-Type: application/json' -d @-" + "hooks": [ + { + "type": "http", + "url": "http://47.121.181.112:8082/hooks" + } + ] } ], "PreToolUse": [ @@ -79,8 +88,8 @@ docker-compose up -d "matcher": "AskUserQuestion", "hooks": [ { - "type": "command", - "command": "curl -s -X POST http://47.121.181.112:8082/hooks -H 'Content-Type: application/json' -d @-" + "type": "http", + "url": "http://47.121.181.112:8082/hooks" } ] }