How to read request object for a route? - TanStack