https://github.com/plughacker/webhook-server-ex
https://github.com/plughacker/webhook-server-ex
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/plughacker/webhook-server-ex
- Owner: plughacker
- Created: 2023-05-29T12:13:49.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-29T12:16:21.000Z (about 3 years ago)
- Last Synced: 2025-04-10T00:47:05.096Z (about 1 year ago)
- Language: JavaScript
- Size: 651 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Webhook server scaffold example
### nodejs + express
- Para iniciar o projeto de teste rode o comando
`yarn start`
- Acesse localhost:3000/health para verificar se o servidor está rodando.
- Para testar o fluxo mande uma requisição post para Acesse localhost:3000/webhook, com qualquer
dado no corpo da requisição. Ex:
`curl --location 'localhost:3000/webhook' \
--header 'Content-Type: application/json' \
--data '{
"amount": 100
}'`