Spaces:
Running
Running
Download config.js from intsoft/comenta-webhooks-hmac: direct link, hf CLI and curl.
- Browser
- Download file 1.21 kB
-
https://huggingface.co/spaces/intsoft/comenta-webhooks-hmac/resolve/main/config.js
- Command line
-
hf download hf://spaces/intsoft/comenta-webhooks-hmac/config.js
-
curl -L -o config.js https://huggingface.co/spaces/intsoft/comenta-webhooks-hmac/resolve/main/config.js
1.21 kB
| window.COMENTA_CONFIG = { | |
| "title": "Webhooks assinados (HMAC) & API REST", | |
| "description": "Avaliação funcional: Assina e verifica HMAC-SHA256 dos bytes exatos de um JSON usando Web Crypto.", | |
| "limitation": "Assina e verifica HMAC-SHA256 dos bytes exatos de um JSON usando Web Crypto. Gera exemplo REST e plano de retry; não hospeda API REST de integração, não entrega eventos e não faz requisições. Use apenas chave fictícia.", | |
| "fields": [ | |
| { | |
| "id": "payload", | |
| "label": "Payload JSON fictício (bytes exatos serão assinados)", | |
| "value": "{\"event\":\"conversation.resolved\",\"id\":\"exemplo-01\"}", | |
| "json": true | |
| }, | |
| { | |
| "id": "key", | |
| "label": "Chave fictícia de teste (NUNCA use credencial real)", | |
| "value": "chave-ficticia-para-teste", | |
| "type": "input", | |
| "password": true | |
| }, | |
| { | |
| "id": "signature", | |
| "label": "Assinatura recebida, opcional (64 hex ou sha256=...)", | |
| "value": "", | |
| "type": "input" | |
| }, | |
| { | |
| "id": "attempts", | |
| "label": "Quantidade de tentativas no plano (1 a 8)", | |
| "value": "4", | |
| "type": "input" | |
| } | |
| ], | |
| "fn": "webhook", | |
| "slug": "comenta-webhooks-hmac" | |
| }; | |