api/user InvalidArgumentException Route [login] not defined. protected function methodNotAllowed(array $others) { throw new MethodNotAllowedHttpException($others); }