comenta-webhooks-hmac / test-cases.json
intsoft's picture
Publicar ferramenta Comenta de avaliação local v0.1
b7a7f96 verified
Raw History Blame Contribute Delete
930 Bytes
{
"function": "webhook",
"cases": [
{
"name": "Exemplo padrão da interface",
"args": [
"{\"event\":\"conversation.resolved\",\"id\":\"exemplo-01\"}",
"chave-ficticia-para-teste",
"",
"4"
],
"object": true
},
{
"args": [
"{\"a\":1}",
"chave-ficticia",
"",
"3"
],
"path": "plano_retry_segundos.2",
"equals": 20
},
{
"args": [
"{\"a\":1}",
"chave-ficticia",
"0000000000000000000000000000000000000000000000000000000000000000",
"3"
],
"path": "assinatura_informada_valida",
"equals": false
},
{
"args": [
"not json",
"chave-ficticia",
"",
"3"
],
"error": true
},
{
"args": [
"{}",
"short",
"",
"3"
],
"error": true
}
]
}