I want to know if there’s a way to make a backend canister written with motoko to call the frontend canister (built with node.js).
What I want to do is update my frontend page in real time based on some triggers reveived by the backend. So that when some data are updated on the backend it will call the frontend (like a notification message for example…).
I had to use http calls? Or there are other ways?
This - the http_request function - is commonly use to serve assets (html page, images, js, css etc.) on the web. It’s like the function that answer to the http request your browser do e.g. when you access your dapp with the browser on https://canister-id.ic0.app
It also don’t push data but respond to a query so it does not solve your original question in my opinion.
Maybe is usefull for me, 'cause what I really want is that a particular user do something and the frontend of another user is updated, more like a chatbot, probably I wasn’t clear on my original question.