Search code examples
angularjscorsbotframeworkbotconnectordirect-line-botframework

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?


Solution

  • It worked after adding withCredentials:false to my request.