Need help with webhooks
# 🤝help
h
I need help using webhooks and Botpress im having trouble getting the information from the webhook. I have my bot listed as well as what is in my update and get records. Im new to botpress and dont know how to do anything but the basics so, any input helps!
Copy code
py

    newQuery = f"{message}" 

    print(newQuery)
    # Define your webhook URL
    webhook_url = 'webhookURL'
    # Define the data to send in the webhook
    data = { 'content': newQuery
            ,"channel": channelID }

    # Define optional headers
    headers = {
        'Content-Type': 'application/json',
        'x-bp-secret': 'B9AlgoRODIE'  # Uncomment this line if you have a secret header
    }
This is how im sending the webhook i dont beleive this is the problem becasue the information gets added to the table everytime a webhook gets sent. So im thinking i have something wrong with the botpress side of things.
e
Hello
v
Hi
h
hello any ideas
hello any ideas