Dushyant Bangal Dushyant Bangal - 3 months ago 54
AngularJS Question

Does Bot Framework Direct line support CORS?

I'm trying to use Bot Framework's Direct Line API along with Angular.js. However, the request sent from Angular throws the Cross Origin error in my browser.

I need to know if I'm doing something wrong. If thats the case, I'll post the code.

So, Does Bot Framework Direct line support Cross Origin requests?

Answer

It worked after adding withCredentials:false to my request.