Can the React App trigger 2 thinghttp requests simultaneously?

I have created a Thinghttp request that can send me a topic message (a notification) to my Flutter Application when a certain condition is met. I'm using Firebase Cloud Messaging for this to work. This request is triggered by the React App. I also want to save this topic to a database in Firebase, because I want to show the notification history in my application, by retrieving these topics from the database using API. Can I send 2 requests simultaneously, one to my app and one to the firebase database to store these topics? If not, can you suggest ways to achieve this?

回答 (1 件)

Christopher Stapels
Christopher Stapels 2024 年 2 月 23 日

1 投票

Use React to trigger MATLAB analysis, then you can write many actions in the code. webwrite and webread should let you intereact with most external APIs. You could even trigger thingHTTP from the MATLAB analysis, though you shouldnt need to.

コミュニティ

その他の回答  ThingSpeak コミュニティ

カテゴリ

ヘルプ センター および File ExchangeAct on Data についてさらに検索

タグ

質問済み:

2024 年 2 月 22 日

コメント済み:

2024 年 2 月 23 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by