great-jelly-66926
06/13/2024, 9:14 PMaxios({
method: 'POST',
headers: { 'Content-Type': 'application/json' },
data: {
type: "text",
text: message.body
},
url: "http://127.0.0.1:3000/api/v1/bots/bot-test/converse/552298120000"
}).then(async res => {
Is there some way for me to send custom data to botpress using data field?
E.g.
data: {
type: "text",
text: message.body
my_param: 'test'
},
And how can I get this value in botpress?
I'm using 12.31.8 version for my botpress in docker-compose
version: "3.6"
services:
botpress:
image: botpress/server
ports:
- 3000:3000
container_name: botpress
volumes:
- botpress-data:/app/data
environment:
- API_URL=${API_URL}
networks:
- rede-host
volumes:
botpress-data:
networks:
rede-host: