Integrating web services and APIs can be tricky, especially when you're unsure if your request is correctly formatted or how it will behave at runtime. In this article, you’ll learn how you can test and debug API calls directly from within UI Builder.
UI Builder includes a built-in feature called the HTTP Modal, which lets you test web requests directly within the chatbot development environment—no need to leave the workspace.
The HTTP Modal is accessible in the Details pane of a Send an HTTP Request activity.
Clicking on the pop-out icon opens the modal popup.
The modal can be used to test the structure of a web request, add parameters, specify HTTP headers, and send content in the body of the request.
Configuration properties can also be set. For example, you can specify the variable where the results of a GET request should be stored.
You can also specify the content type or response type returned from the web request.