Replies: 1 comment 1 reply
-
Hi! it's import requests
r = requests.post(
"http://localhost:3000/api/sendText",
json={
"chatId": "123123",
"text": "Hello World!",
"session": "default",
},
)
print(r.text) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was able to run WAHA docker container and it can be run successfully using Postman and CURL. But when I wrap it to Python and trigger it using python
requests
aiohttp
it gives me 500 error? Where is my mistake?Using requests library
Using aiohttp
Both result:
Beta Was this translation helpful? Give feedback.
All reactions