I have a Bot Service hosted in Azure, and I’m using a .NET backend to interact with it. My goal is to send a question to the bot service from Swagger (API testing tool) and then handle the activity response within my backend.
I followed the Azure sample code and successfully receive the correct Query Results from the QnA Maker when I send a question. However, the challenge arises when I try to send an activity response back. The Azure bot service requires a serviceUrl to send the response, and this is causing issues in my local development environment. The activity sending process fails, and I’m not sure how to properly configure the service URL or handle this scenario.
I’m looking for guidance on how to correctly handle the activity response in the .NET backend when triggered via Swagger. Any insights or solutions on configuring the service URL or alternative approaches would be greatly appreciated.