Accept req as argument to parse