Get page and limit values from the request