Paging, how does the front end interact with the back end?

I am a rookie front end.

my understanding of paging is as follows:

1. First of all, the backend will do the paging logic (how much data is displayed on a page and how many pages in total)

2. The front-end get requests to get the data of the first page (because the first page is displayed by default when the website is opened)

3. When the user clicks on page 2, I send a post request to the backend (send 2 to the backend)

4. The backend returns the data on page 2 to me, and I am rendering it

I don"t know if my understanding is correct

.
Mar.06,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34993-2bf2d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34993-2bf2d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?