Azure Bot Composer - Send Image in Http request

Rajasingh, Karthick 20 Reputation points
2024-03-29T02:08:45.9433333+00:00

I am trying to make a http request from bot composer dialog where I need to pass the image attached by user. I am able to get the content url but i am not able to pass it in the body of http request. Am i missing something?

I am getting error like this with below config

User's image

User's image

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
838 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vahid Ghafarpour 21,635 Reputation points
    2024-03-29T05:43:09.74+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    Maybe you need to change body parameter from "file" to "photo"!

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.