Best way to get search params in an API route? - SolidJS