<commit_before># Webhooks JSON

You can paste your `webhooks.json` at [jsonlint.com](http://jsonlint.com/) to validate the JSON syntax.

## Example

```json
[
    {
        "method": "POST",
        "path": "/list-tmp-directory-content",
        "command": "ls -la",
        "cwd": "/tmp"
    },
    {
        "method": "POST",
        "path": "/greet-second-user",
        "command": "echo $GREETING $NAME",<commit_msg>Add array of HTTP methods as example<commit_after># Webhooks JSON

You can paste your `webhooks.json` at [jsonlint.com](http://jsonlint.com/) to validate the JSON syntax.

## Example

```json
[
    {
        "method": ["GET", "POST"],
        "path": "/list-tmp-directory-content",
        "command": "ls -la",
        "cwd": "/tmp"
    },
    {
        "method": "POST",
        "path": "/greet-second-user",
        "command": "echo $GREETING $NAME",
{'fraction_non_alphanumeric': 0.18922018348623854, 'fraction_numerical': 0.0, 'mean_word_length': 2.383720930232558, 'pattern_counts': {'":': 14, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2591348', 'n_tokens_mistral': 292, 'n_tokens_neox': 291, 'n_words': 74}