api web whatsapp simple implementation venom-bot
- git clone https://github.com/diazzaid/whatsapp-api-venom-simple.git
- cd whatsapp-api-venom-simple
- npm i
- node index.js
- scan qr
- api send message
- json
- curl --location --request POST 'http://localhost:3000/send-message'
--header 'Content-Type: application/json'
--data-raw '{ "number": "628122499xxx", "message": "api testing json" }' - urldecoded
- curl --location --request POST 'http://localhost:3000/send-message'
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'number=628122499xxxx'
--data-urlencode 'message=api testing urldecoded'
thanks
orkestral/venom https://github.com/orkestral/venom