Request path or method is undefined