Receive an Http Request in my Tab page

%3CLINGO-SUB%20id%3D%22lingo-sub-1144134%22%20slang%3D%22en-US%22%3EReceive%20an%20Http%20Request%20in%20my%20Tab%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1144134%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20Teams%20bot%20running%20(node%20js)%2C%20and%20a%20Teams%20tab%20displaying%20my%20info%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20update%20tab%20web%20data%20when%20I%20receive%20a%20message%20in%20my%20bot.%20Can%20I%20send%20an%20HTTP%20request%20to%20my%20running%20HTML%20page%3F%20I%20mean%2C%20having%20something%20like%20a%20webkook%20listening%20requests%20in%20my%20tab%20page%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EDiego%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1144134%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1151835%22%20slang%3D%22en-US%22%3ERe%3A%20Receive%20an%20Http%20Request%20in%20my%20Tab%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1151835%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F402611%22%20target%3D%22_blank%22%3E%40diegoSpace%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECreating%20a%20webhook%20for%20your%20tab%20might%20not%20be%20possible%20inside%20teams.%20Rather%20on%20receiving%20a%20message%20in%20bot%2C%20you%20can%20call%20your%20service%20and%20update%20the%20data%20provided%20by%20user.%20If%20you%20are%20storing%20cache%20of%20data%20then%20you%20could%20update%20the%20cache%20with%20user%20data.%20So%20next%20time%20when%20you%20render%20the%20html%20tab%20it%20should%20display%20the%20updated%20data.%26nbsp%3B%3CBR%20%2F%3EHope%20I%20am%20able%20to%20answer%20your%20query.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1155909%22%20slang%3D%22en-US%22%3ERe%3A%20Receive%20an%20Http%20Request%20in%20my%20Tab%20page%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1155909%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F451628%22%20target%3D%22_blank%22%3E%40subhasish-MSFT%3C%2FA%3E%26nbsp%3BOk%2C%20thanks%20for%20your%20reply%2C%20I%20will%20check%20it%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

I have a Teams bot running (node js), and a Teams tab displaying my info

 

I would like to update tab web data when I receive a message in my bot. Can I send an HTTP request to my running HTML page? I mean, having something like a webkook listening requests in my tab page

 

Thanks,

Diego

2 Replies
Highlighted

@diegoSpace 

Creating a webhook for your tab might not be possible inside teams. Rather on receiving a message in bot, you can call your service and update the data provided by user. If you are storing cache of data then you could update the cache with user data. So next time when you render the html tab it should display the updated data. 
Hope I am able to answer your query.

Highlighted

@subhasish-MSFT Ok, thanks for your reply, I will check it