N
N
Nyppy2019-10-23 17:33:06
Python
Nyppy, 2019-10-23 17:33:06

How to dynamically change the data on the page?

There is a mongodb database, using motor I get information about its change, and I need to somehow display the received data on the page using aiohttp, how can I do this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Iontzev, 2019-10-23
@Nyppy

aiohttp supports websockets. Establish a browser-server connection, js changes the data on the page when an event is received from the server

F
Forevka69, 2019-10-23
@Forevka69

Send a post request to your API, process it and return the necessary data?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question