dynamic route with explicit status code