https://discord.gg/botpress logo
Hi, I have successfully created a botpress cloud a...
# 💻developers
c
Hi, I have successfully created a botpress cloud and attached the data prompt and published it, but I have a problem when trying to resfull api but still return 404, can anyone help me? Code: URL = f"https://api.botpress.cloud/v1/bots/{BOT_ID}/converse" # Function to send question and get answer def get_botpress_response(question): headers = { "Authorization": f"Bearer {API_TOKEN}", "Content-Type": "application/json", "x-bot-id": BOT_ID, "x-workspace-id": WORKSPACE_ID } payload = { "type": "text", "text": question }
2 Views