Dynamic parameters into "HTTP request" Composer component

Daniele Somma 21 Reputation points
2020-12-10T12:16:51.04+00:00

Hi,
there is any way to set dynamically some parameters in the "Send an HTTP request" object of the Bot Framework Composer?
Would be useful can set field "HTTP method" and "Headers", from "code".
Especially the "Headers", it's possible to dynamically add the parameters?
I haven't found info over the forum and StackOverflow.

Thanks in advance for any help
Daniele

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

1 answer

Sort by: Most helpful
  1. romungi-MSFT 42,786 Reputation points Microsoft Employee
    2020-12-11T07:24:54.26+00:00

    @Daniele Somma You can update the headers and change the HTTP methods from the code i.e from the composer's "show code" feature.

    47351-saving-http.gif

    A composer is basically a visual tool to help create bot with the bot framework SDK under the hood to minimize effort in creating a bot. If you are looking to add an advanced functionality to call HTTP methods you can first create a basic bot using the composer and publish it and later update the published bot by downloading its code from azure portal and add advanced functionality with the help of the actual botframework SDK.