Is there any way to make an API call using any of the botFramework supported cards?

%3CLINGO-SUB%20id%3D%22lingo-sub-1558526%22%20slang%3D%22en-US%22%3EIs%20there%20any%20way%20to%20make%20an%20API%20call%20using%20any%20of%20the%20botFramework%20supported%20cards%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1558526%22%20slang%3D%22en-US%22%3E%3CUL%3E%3CLI%3EI%20have%20gone%20through%20this%20link%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fadaptivecards.io%2Fsamples%2FFoodOrder.html%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fadaptivecards.io%2Fsamples%2FFoodOrder.html%3C%2FA%3E%26nbsp%3B%20but%2C%20I%20am%20not%20able%20to%20understand%20when%20the%20button%20of%20type%26nbsp%3B%20%22%3CSTRONG%3EAction.Submit%3C%2FSTRONG%3E%22%20of%20an%20adaptive%20card%20is%20clicked.%3C%2FLI%3E%3CLI%3EIs%20it%20possible%20to%20make%20Http%20call%20using%20any%20of%20the%20botFramework%20supported%20cards.%20If%20yes%2C%20then%20can%20you%20please%20give%20any%20reference%20for%20the%20same.%26nbsp%3B%3C%2FLI%3E%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1558526%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-1559096%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20there%20any%20way%20to%20make%20an%20API%20call%20using%20any%20of%20the%20botFramework%20supported%20cards%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1559096%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F745982%22%20target%3D%22_blank%22%3E%40sunnykalola%3C%2FA%3E%26nbsp%3BTeams%20does%20not%20support%20https%3A%2F%2F%20calls%20from%20Adaptive%20Cards%20directly%20for%20security%20reasons%20(except%20for%20OpenUrl).%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20have%20to%20add%20additional%20information%20to%20the%20button%20and%20specify%20the%20behavior%20you%20want%20in%20more%20detail.%20See%20here%20for%20more%20information%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Ftask-modules-and-cards%2Fcards%2Fcards-actions%23adaptive-cards-actions%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Ftask-modules-and-cards%2Fcards%2Fcards-actions%23adaptive-cards-actions%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor
  • I have gone through this link https://adaptivecards.io/samples/FoodOrder.html  but, I am not able to understand when the button of type  "Action.Submit" of an adaptive card is clicked.
  • Is it possible to make Http call using any of the botFramework supported cards. If yes, then can you please give any reference for the same. 
1 Reply

@sunnykalola Teams does not support https:// calls from Adaptive Cards directly for security reasons (except for OpenUrl). 

 

You have to add additional information to the button and specify the behavior you want in more detail. See here for more information: https://docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-actions#...