Comments (10)
This idea is being discussed at increasing length over at microsoft/BotFramework-WebChat#243
from botframework-emulator.
has there been any movement on this?
from botframework-emulator.
@forensicsguy20012004 This feature is not on the Emulator roadmap currently. It would be good if you could provide information about your scenario.
from botframework-emulator.
@eanders-ms We have a web application which calls a bot using Direct Line. Currently our team cannot do local development along the full chain, because the direct line client calls out to the Bot Connector. It would be very helpful to have a way for the direct line client call to a local bot, via the emulator or some other endpoint, so that we can have our local web app call to our local bot.
from botframework-emulator.
@ChrisMiskowiec I'm using the Emulator in exactly this way. If I'm understanding you right you just need to:
- connect to your locally-hosted bot in the emulator by entering a localhost URL
- see what port the emulator is listening on from the hosted log
- make directline calls to http://localhost:<emulator port>
There are issues open to make the port configurable from the command line; I've done this in a hacky way in my fork at https://github.com/gareththackeray/BotFramework-Emulator
from botframework-emulator.
Hi @gareththackeray ,
Can you please explain how to make direct line calls to http://localhost: . Can we hit it in postman if so what are the request formats ?
Please help ! Thanks in advance .
from botframework-emulator.
@SomaSharathSurya I just updated my comment to show the emulator port should go after the :
The api reference is here https://docs.microsoft.com/en-us/bot-framework/rest-api/bot-framework-rest-direct-line-3-0-api-reference
from botframework-emulator.
Just a quick follow-up per all of the above comments.
Will this particular item ever be added to the official roadmap? It's a pretty crucial piece of functionality for individuals who use the DirectLineAPI as their primary pathway for bot communication.
from botframework-emulator.
Here is a helpful workaround: https://www.npmjs.com/package/offline-directline
from botframework-emulator.
Closing, no plans to implement.
from botframework-emulator.
Related Issues (20)
- JSON previewer is not open HOT 2
- Login in to Emulator does not work HOT 2
- Token is not getting generated. HOT 2
- Can't connect to WSL with post 400 error about connection refused - emulator doesn't connect to localhost HOT 9
- OAuth Prompt not working in Emulator HOT 9
- Text output window size HOT 1
- Support of updateActivity (update message) and deleteActivity (delete message)
- Unable to remove ngrok configuration from botFreamwork-Emulator HOT 2
- Bot is not able to listen on http://localhost:3978/api/messages. HOT 5
- Is the Emulator still being actively maintained? HOT 8
- Arlington application id
- Bot Framework Emulator Login problem HOT 3
- Support ngrok v3.1 HOT 5
- Test 1
- Test 2
- "The bot's Microsoft App ID or Microsoft App Password is incorrect." after following Steps to Add Cosmos DB HOT 3
- Add support for Azure Relay service as an alternative for Ngrok HOT 4
- Typing indicator not rendering while waiting on a delayed activity
- I cant see my adaptive card on the Bot builder emulator, it appears as blank. HOT 3
- Update set-up documentation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botframework-emulator.