Forum Discussion

giusliso's avatar
giusliso
Copper Contributor
Oct 13, 2021

CORS PREFLIGHT WHEN USE WEBHOOK FOR MICROSOFT TEAMS

Hi,

i've created an angular app that send some Adaptive cards to a TEAMS channel created with connector plugin but when i try to post a a json i got following CORS ERROR. 

 

 

Is there a way to fix it? In documentation there is only an example using cUrl and Powershell but not using a frontend app .

  • Have you tried to send Adaptive card as message via Graph Explorer or PostMan with Incoming Webhook?
    If yes, is it working?

Resources