I need to implement the following scheme:
1. The user on the website enters a word
2. Word is sent to the server
3. The word is entered in the search query and the server retrieves the data on request ( first three answers on the results page)
4. The server sends responses to the user
The problem is, I don't know in what direction to dig for the implementation of 3 points.
I would be very grateful for the help :)